2
0
mirror of https://github.com/alliedmodders/amxmodx.git synced 2025-05-24 20:48:11 +03:00

cell upcasting (second revision)

This commit is contained in:
Borja Ferrer 2006-04-28 20:14:08 +00:00
parent 1f8b9a8cd9
commit 229b149247

@ -307,7 +307,7 @@ void MessageEnd(void)
} else if (inhook) {
for (i=0; i<msgHooks[msgType].size(); i++)
{
mresB = MF_ExecuteForward(msgHooks[msgType].at(i), msgType, msgDest, ENTINDEX(msgpEntity));
mresB = MF_ExecuteForward(msgHooks[msgType].at(i), (cell)msgType, (cell)msgDest, (cell)ENTINDEX(msgpEntity));
if (mresB > mres)
mres = mresB;
}