- 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

@@ -59,6 +59,7 @@ class Interruptible: public PlayGuiObject, public Targetable{
Interruptible(bool hasFocus = false):PlayGuiObject(40,x,y,hasFocus){state=NOT_RESOLVED;display=0;source=NULL;};
virtual const string getDisplayName() const {return "stack object";};
void Render(MTGCardInstance * source, JQuad * targetQuad, string alt1, string alt2, string action, bool bigQuad = false);
virtual int receiveEvent(WEvent * event) {return 0;};
#if defined (WIN32) || defined (LINUX)
virtual void Dump();
#endif
@@ -180,6 +181,7 @@ class ActionStack :public GuiLayer{
int resolve();
int has(Interruptible * action);
int has(MTGAbility * ability);
int receiveEventPlus(WEvent * event);
#if defined (WIN32) || defined (LINUX)
void Dump();
#endif