mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
Fix pfn_spawn metamod return to follow engine behavior (bug 5807, r=me)
Former-commit-id: efe3bda51b
This commit is contained in:
parent
0dd14eed43
commit
2f964928ff
@ -49,7 +49,7 @@ int Spawn(edict_t *pEntity)
|
|||||||
int id = ENTINDEX(pEntity);
|
int id = ENTINDEX(pEntity);
|
||||||
retVal = MF_ExecuteForward(SpawnForward, (cell)id);
|
retVal = MF_ExecuteForward(SpawnForward, (cell)id);
|
||||||
if (retVal)
|
if (retVal)
|
||||||
RETURN_META_VALUE(MRES_SUPERCEDE, 0);
|
RETURN_META_VALUE(MRES_SUPERCEDE, -1);
|
||||||
}
|
}
|
||||||
RETURN_META_VALUE(MRES_IGNORED, 0);
|
RETURN_META_VALUE(MRES_IGNORED, 0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user