Fix pfn_spawn metamod return to follow engine behavior (bug 5807, r=me)

Former-commit-id: efe3bda51be78618cfc758a5d75a9a4bcc49a353
This commit is contained in:
Vincent Herbet 2013-07-27 20:36:33 +02:00
parent 0dd14eed43
commit 2f964928ff

View File

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