* Fix a few warnings.
This commit is contained in:
jean.chalard
2008-11-10 14:52:52 +00:00
parent c72fbbd20c
commit 98d8f8c833
11 changed files with 17 additions and 15 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
#include "../include/CardGui.h"
#include "../include/MTGDeck.h"
int AbilityFactory::destroyAllFromTypeInPlay(char * type, MTGCardInstance * source, int bury){
int AbilityFactory::destroyAllFromTypeInPlay(const char * type, MTGCardInstance * source, int bury){
GameObserver * game = GameObserver::GetInstance();
for (int i = 0; i < 2 ; i++){
for (int j = 0; j < game->players[i]->game->inPlay->nb_cards; j++){