Erwan
-fixed bug with Sphinx Sumoner (was an interface issue, not a an issue with the card itself)
This commit is contained in:
@@ -302,14 +302,15 @@ void GameObserver::ButtonPressed (int controllerId, PlayGuiObject * _object){
|
||||
forceShuffleLibraries();
|
||||
} else {
|
||||
int pId = (-id - 4)/2;
|
||||
if (targetChooser && targetChooser->targetsZone(players[pId]->game->library)){
|
||||
TargetChooser * _tc = this->getCurrentTargetChooser();
|
||||
if (_tc && _tc->targetsZone(players[pId]->game->library)){
|
||||
zone->toggleDisplay();
|
||||
forceShuffleLibrary[pId] = 1;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
if (id== -5 || id == -3){ //TODO libraries ???
|
||||
if (id== -5 || id == -3){
|
||||
GuiGameZone * zone = (GuiGameZone *)_object;
|
||||
zone->toggleDisplay();
|
||||
}
|
||||
|
||||
@@ -325,9 +325,10 @@ int TestSuite::assertGame(){
|
||||
for (int j = 0; j < 4; j++){
|
||||
MTGGameZone * zone = playerZones[j];
|
||||
if (zone->nb_cards != endState.playerData[i].zones[j].nbitems){
|
||||
Log("<span class=\"error\">==Card number not the same==</span><br />");
|
||||
error++;
|
||||
return 0;
|
||||
sprintf(result, "<span class=\"error\">==Card number not the same in %i==</span><br />",j);
|
||||
Log(result);
|
||||
error++;
|
||||
return 0;
|
||||
}
|
||||
for (int k = 0; k < endState.playerData[i].zones[j].nbitems; k++){
|
||||
int cardid = endState.playerData[i].zones[j].cards[k];
|
||||
|
||||
Reference in New Issue
Block a user