cell upcasting (second revision)

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

View File

@ -307,7 +307,7 @@ void MessageEnd(void)
} else if (inhook) { } else if (inhook) {
for (i=0; i<msgHooks[msgType].size(); i++) 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) if (mresB > mres)
mres = mresB; mres = mresB;
} }