Jeck - Fix a PSP compiler error. (I'd never heard of an "X will be initialized before Y" error before, but the compiler is always right :) )
This commit is contained in:
@@ -540,7 +540,7 @@ public:
|
|||||||
int tokenId;
|
int tokenId;
|
||||||
string name;
|
string name;
|
||||||
WParsedInt * multiplier;
|
WParsedInt * multiplier;
|
||||||
ATokenCreator(int _id,MTGCardInstance * _source,ManaCost * _cost, int tokenId, int _doTap, WParsedInt * multiplier = NULL):ActivatedAbility(_id,_source,_cost,0,_doTap), multiplier(multiplier), tokenId(tokenId){
|
ATokenCreator(int _id,MTGCardInstance * _source,ManaCost * _cost, int tokenId, int _doTap, WParsedInt * multiplier = NULL):ActivatedAbility(_id,_source,_cost,0,_doTap), tokenId(tokenId), multiplier(multiplier){
|
||||||
if(!multiplier) this->multiplier = NEW WParsedInt(1);
|
if(!multiplier) this->multiplier = NEW WParsedInt(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user