git
/
fp-git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e5794c
)
bugfix: palette offset
author
ecalot
<ecalot>
Mon, 21 Jun 2004 20:57:54 +0000
(20:57 +0000)
committer
ecalot
<ecalot>
Mon, 21 Jun 2004 20:57:54 +0000
(20:57 +0000)
FP/src/res/resources.c
patch
|
blob
|
history
diff --git
a/FP/src/res/resources.c
b/FP/src/res/resources.c
index 31c5611a835131be2c9727edbfd8262012cd4184..83de2dd223171af2f9b35f15b264098974a8d86f 100644
(file)
--- a/
FP/src/res/resources.c
+++ b/
FP/src/res/resources.c
@@
-98,7
+98,7
@@
void res_createFrames(tMemory data,int type,void** returnValue,int number) {
printf("Fatal error: res_createFrames: invalid palette\n");
exit(1);
}
- memcpy(image.pal,data.array+
1,16
);
+ memcpy(image.pal,data.array+
5,16*3
);
printf("res_createFrames: Remembering palette\n",number,type);
return;
} else {