Hamsandwich: fix HAM_OVERRIDE in post hooks (bug 6443)
This commit is contained in:
parent
8ec6136a7c
commit
5c8c925e8a
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user