Fix pfn_spawn metamod return to follow engine behavior (bug 5807, r=me)
Former-commit-id: efe3bda51be78618cfc758a5d75a9a4bcc49a353
This commit is contained in:
parent
0dd14eed43
commit
2f964928ff
@ -49,7 +49,7 @@ int Spawn(edict_t *pEntity)
|
||||
int id = ENTINDEX(pEntity);
|
||||
retVal = MF_ExecuteForward(SpawnForward, (cell)id);
|
||||
if (retVal)
|
||||
RETURN_META_VALUE(MRES_SUPERCEDE, 0);
|
||||
RETURN_META_VALUE(MRES_SUPERCEDE, -1);
|
||||
}
|
||||
RETURN_META_VALUE(MRES_IGNORED, 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user