check v.target for cs < 1.6
This commit is contained in:
parent
f621ff05e1
commit
f9f49c6cc6
1 changed files with 1 additions and 1 deletions
|
|
@ -998,7 +998,7 @@ int Spawn (edict_t *ent)
|
|||
}
|
||||
else if (strcmp (entityClassname, "player_weaponstrip") == 0)
|
||||
{
|
||||
if (g_gameVersion == CSV_OLD)
|
||||
if (g_gameVersion == CSV_OLD && (STRING (ent->v.target))[0] == '0')
|
||||
ent->v.target = ent->v.targetname = ALLOC_STRING ("fake");
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue