- Fix issue 194
- Attempt at doing basic AI tests
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-11-15 09:31:33 +00:00
parent 072c3d15d5
commit f6a75a0e43
18 changed files with 277 additions and 140 deletions
+1 -1
View File
@@ -304,7 +304,7 @@ int MTGMomirRule::genRandomCreatureId(int convertedCost){
i--;
}
if (!total_cards) return 0;
int start = (rand() % total_cards);
int start = (WRand() % total_cards);
return pool[convertedCost][start];
}