Merge pull request #317 from WPMGPRoSToTeMa/hamposthookretval
Hamsandwich: fix HAM_OVERRIDE in post hooks (bug 6443)
This commit is contained in:
commit
7cdc72f936
@ -108,11 +108,15 @@ extern bool gDoForwards;
|
||||
{ \
|
||||
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() \
|
||||
); \
|
||||
} \
|
||||
if (thisresult > result) \
|
||||
{ \
|
||||
result=thisresult; \
|
||||
} \
|
||||
} \
|
||||
} \
|
||||
ReturnStatus.pop();
|
||||
|
Loading…
Reference in New Issue
Block a user