- 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

@@ -601,7 +601,7 @@ void GameObserver::untapPhase(){
int GameObserver::receiveEvent(WEvent * e){
if (!e) return 0;
eventsQueue.push(e);
if (eventsQueue.size() > 1) return -1;
if (eventsQueue.size() > 1) return -1; //resolving events can generate more events
int result = 0;
while(eventsQueue.size()){
WEvent * ev = eventsQueue.front();