Fix errors from glquake->qs

This commit is contained in:
Ian 2022-12-21 15:11:44 -05:00
parent 45257e7d73
commit f93c775ee3
2 changed files with 7 additions and 7 deletions

View file

@ -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;
}

View file

@ -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");
}