mirror of
https://github.com/nzp-team/dquakeplus.git
synced 2024-11-29 15:11:54 +00:00
If it aint broke
This commit is contained in:
parent
6d0f10eaa6
commit
853ce803ad
1 changed files with 10 additions and 4 deletions
|
@ -2010,10 +2010,16 @@ void Mod_FloodFillSkin( byte *skin, int skinwidth, int skinheight )
|
||||||
|
|
||||||
qboolean model_is_zombie(char name[MAX_QPATH])
|
qboolean model_is_zombie(char name[MAX_QPATH])
|
||||||
{
|
{
|
||||||
char specChar;
|
if (Q_strcmp(name, "models/ai/zb#.mdl") == 0 ||
|
||||||
specChar = name[strlen(name) - 5];
|
Q_strcmp(name, "models/ai/zbc#.mdl") == 0 ||
|
||||||
|
Q_strcmp(name, "models/ai/zcfull.mdl") == 0 ||
|
||||||
if (specChar == '#' || specChar == '(' || specChar == '^')
|
Q_strcmp(name, "models/ai/zhc^.mdl") == 0 ||
|
||||||
|
Q_strcmp(name, "models/ai/zalc(.mdl") == 0 ||
|
||||||
|
Q_strcmp(name, "models/ai/zarc(.mdl") == 0 ||
|
||||||
|
Q_strcmp(name, "models/ai/zfull.mdl") == 0 ||
|
||||||
|
Q_strcmp(name, "models/ai/zh^.mdl") == 0 ||
|
||||||
|
Q_strcmp(name, "models/ai/zal(.mdl") == 0 ||
|
||||||
|
Q_strcmp(name, "models/ai/zar(.mdl") == 0)
|
||||||
return qtrue;
|
return qtrue;
|
||||||
|
|
||||||
return qfalse;
|
return qfalse;
|
||||||
|
|
Loading…
Reference in a new issue