-fixed GameObserver::receiveEvent
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-08-23 10:52:10 +00:00
parent a2149131fb
commit 0454d39f79
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -471,6 +471,7 @@ int GameObserver::receiveEvent(WEvent * e){
SAFE_DELETE(ev); SAFE_DELETE(ev);
eventsQueue.pop(); eventsQueue.pop();
} }
return result;
} }
+1
View File
@@ -524,6 +524,7 @@ int MTGCardInstance::setDefenser(MTGCardInstance * opponent){
WEvent * e = NULL; WEvent * e = NULL;
if (defenser != opponent){ if (defenser != opponent){
e = NEW WEventCreatureBlocker(this, defenser, opponent); e = NEW WEventCreatureBlocker(this, defenser, opponent);
} }
defenser = opponent; defenser = opponent;
if (defenser){ if (defenser){