Fixed warnings. I hope I didn't break anything!

svn-id: r13317
This commit is contained in:
Torbjörn Andersson 2004-03-16 08:25:46 +00:00
parent 4a6b57f295
commit 2705815d1d
2 changed files with 5 additions and 5 deletions

View File

@ -164,7 +164,7 @@ R_GAME_DISPLAYINFO IHNM_DisplayInfo = {
248, 255 /* Overlay palette start index and length */
};
R_GAME_RESOURCEINFO IHNM_Resources[] = {
R_GAME_RESOURCEINFO IHNM_Resources = {
IHNM_SCENE_LUT, /* Scene lookup table RN */
IHNM_SCRIPT_LUT, /* Script lookup table RN */
@ -268,7 +268,7 @@ R_GAMEDESC GameDescs[] = {
0,
IHNM_Resources,
&IHNM_Resources,
ARRAYSIZE(IHNMDEMO_GameFiles),
IHNMDEMO_GameFiles,
@ -292,7 +292,7 @@ R_GAMEDESC GameDescs[] = {
1,
IHNM_Resources,
&IHNM_Resources,
ARRAYSIZE(IHNMCD_GameFiles),
IHNMCD_GameFiles,

View File

@ -129,7 +129,7 @@ bool ResourceFile::loadResource(int32 rn, byte **res, int32 *res_len) {
assert(res != NULL && res_len != NULL);
*res = NULL;
*res_len = NULL;
*res_len = 0;
if (!R_PBOUNDS(rn, _resTblCt)) {
return false;
@ -151,7 +151,7 @@ bool ResourceFile::loadResource(int32 rn, byte **res, int32 *res_len) {
*res = new_res;
*res_len = new_res_len;
return true;
}