Hamsandwich: fix HAM_OVERRIDE in post hooks (bug 6443)

This commit is contained in:
WPMGPRoSToTeMa 2015-12-09 21:38:08 +03:00
parent 8ec6136a7c
commit 5c8c925e8a

View File

@ -108,11 +108,15 @@ extern bool gDoForwards;
{ \ { \
if (hook->post.at(i)->state == FSTATE_OK) \ if (hook->post.at(i)->state == FSTATE_OK) \
{ \ { \
MF_ExecuteForward(hook->post.at(i)->id, iThis thisresult = MF_ExecuteForward(hook->post.at(i)->id, iThis
#define POST_END() \ #define POST_END() \
); \ ); \
} \ } \
if (thisresult > result) \
{ \
result=thisresult; \
} \
} \ } \
} \ } \
ReturnStatus.pop(); ReturnStatus.pop();