- Fix for issue 284 (Damage not triggering when creature dies in combat phase)
This commit is contained in:
wagic.the.homebrew@gmail.com
2010-09-25 05:15:09 +00:00
parent e94d39e115
commit f3cc20eb31
10 changed files with 96 additions and 4 deletions

View File

@@ -547,6 +547,15 @@ Interruptible * ActionStack::getLatest(int state){
return NULL;
}
int ActionStack::receiveEventPlus(WEvent * event) {
int result = 0;
for (int i = 0; i < mCount ; ++i){
Interruptible * current = (Interruptible *)mObjects[i];
result += current->receiveEvent(event);
}
return result;
}
void ActionStack::Update(float dt){
askIfWishesToInterrupt = NULL;
//modal = 0;