mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-12 06:48:04 +03:00
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…
x
Reference in New Issue
Block a user