mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
Fix pfn_spawn metamod return to follow engine behavior (bug 5807, r=me)
This commit is contained in:
parent
2af8a27164
commit
efe3bda51b
@ -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