mirror of
https://github.com/nzp-team/quakespasm.git
synced 2024-11-10 06:32:03 +00:00
Fix errors from glquake->qs
This commit is contained in:
parent
45257e7d73
commit
f93c775ee3
2 changed files with 7 additions and 7 deletions
|
@ -2460,9 +2460,9 @@ qboolean model_is_zombie(char name[MAX_QPATH])
|
|||
Q_strcmp(name, "models/ai/zhead.mdl") == 0 ||
|
||||
Q_strcmp(name, "models/ai/zlarm.mdl") == 0 ||
|
||||
Q_strcmp(name, "models/ai/zrarm.mdl") == 0)
|
||||
return qtrue;
|
||||
return true;
|
||||
|
||||
return qfalse;
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -2506,7 +2506,7 @@ void *Mod_LoadAllSkins (int numskins, daliasskintype_t *pskintype)
|
|||
pheader->fbtextures[i][0] = NULL;
|
||||
}
|
||||
|
||||
pskintype = (daliasskintype_t *)((byte *)(pskintype+1) + s);
|
||||
pskintype = (daliasskintype_t *)((byte *)(pskintype+1) + size);
|
||||
return (void *)pskintype;
|
||||
}
|
||||
|
||||
|
|
|
@ -680,9 +680,9 @@ void R_InitOtherTextures (void)
|
|||
decal_glow = loadtextureimage ("textures/decals/glow2");
|
||||
|
||||
// external zombie skins
|
||||
zombie_skins[0] = loadtextureimage ("models/ai/zfull.mdl_0", 0, 0, qtrue, qtrue);
|
||||
zombie_skins[1] = loadtextureimage ("models/ai/zfull.mdl_1", 0, 0, qtrue, qtrue);
|
||||
zombie_skins[2] = loadtextureimage ("models/ai/zfull.mdl_2", 0, 0, qtrue, qtrue);
|
||||
zombie_skins[3] = loadtextureimage ("models/ai/zfull.mdl_3", 0, 0, qtrue, qtrue);
|
||||
zombie_skins[0] = loadtextureimage ("models/ai/zfull.mdl_0");
|
||||
zombie_skins[1] = loadtextureimage ("models/ai/zfull.mdl_1");
|
||||
zombie_skins[2] = loadtextureimage ("models/ai/zfull.mdl_2");
|
||||
zombie_skins[3] = loadtextureimage ("models/ai/zfull.mdl_3");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue