- Fixed a bug with royal Assassin
This commit is contained in:
wagic.the.homebrew
2008-11-28 15:38:05 +00:00
parent 4196103a03
commit 1ca143abd7
10 changed files with 84 additions and 194 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ class ADrawer:public ActivatedAbility{
class ADestroyer:public TargetAbility{
public:
int bury;
ADestroyer(int _id, MTGCardInstance * _source, TargetChooser * _tc = NULL, int _bury = 0):TargetAbility(_id,_source, tc),bury(_bury){
ADestroyer(int _id, MTGCardInstance * _source, TargetChooser * _tc = NULL, int _bury = 0):TargetAbility(_id,_source, _tc),bury(_bury){
if (!tc) tc = NEW CreatureTargetChooser();
}
+1 -2
View File
@@ -463,8 +463,7 @@ class GameStateMenu: public GameState, public JGuiListener
break;
case 14:
currentState = STATE_MENU;
delete subMenuController;
subMenuController = NULL;
SAFE_DELETE(subMenuController);
break;
#ifdef TESTSUITE
case 666: