removed some compiler warnings

changed variables to float where appropriate
This commit is contained in:
techdragon.nguyen@gmail.com
2010-11-05 08:07:50 +00:00
parent 91cf0c8d37
commit 8908e86857
15 changed files with 100 additions and 80 deletions

View File

@@ -637,8 +637,8 @@ int MTGCardInstance::toggleDefenser(MTGCardInstance * opponent){
setDefenser(opponent);
didblocked = 1;
if(opponent && opponent->controller()->isAI()){
opponent->view->actZ += .8;
opponent->view->actT -= .2;
opponent->view->actZ += .8f;
opponent->view->actT -= .2f;
}
if(!opponent) didblocked = 0;
return 1;