- fixed a Zombie Master bug

- fixed a graveyard bug
This commit is contained in:
wagic.the.homebrew
2008-11-03 04:27:58 +00:00
parent d45e3b101b
commit 440d6d7629
3 changed files with 4 additions and 4 deletions

View File

@@ -848,7 +848,7 @@ public:
if (ability != -1 && card->basicAbilities[ability]) card->basicAbilities[ability] -=1;
if (regenCost){
if(regenerations.find(card) != regenerations.end()){
game->removeObserver(regenerations[card]);
if (game->isInPlay(card)) game->removeObserver(regenerations[card]);
regenerations.erase(card);
}
}

View File

@@ -19,7 +19,7 @@
#define STATE_FIRST_TIME 4
#define STATE_WARNING 5
#define GAME_VERSION "WTH?! 0.2.1 - by WilLoW"
#define GAME_VERSION "WTH?! 0.2.2 - by WilLoW"
#define ALPHA_WARNING 0
class GameStateMenu: public GameState, public JGuiListener

View File

@@ -106,9 +106,9 @@ void CardDisplay::CheckUserInput(float dt){
{
int n = mCurr;
n++;
if (n>= mCount){n = mCount-1;}
if (n>= start_item + nb_displayed_items){
if (n>= mCount){n = mCount-1;}
else{ rotateRight();}
rotateRight();
}
if (n != mCurr && mObjects[mCurr] != NULL && mObjects[mCurr]->Leaving(PSP_CTRL_RIGHT)){
mCurr = n;