Fixed uninitialized value
Due to this, activated abilities with {X} in cost sometimes were having X=0 when playing
(This appeared only in Debug mode)
This commit is contained in:
@@ -480,6 +480,7 @@ void ManaCost::init()
|
|||||||
suspend = NULL;
|
suspend = NULL;
|
||||||
manaUsedToCast = NULL;
|
manaUsedToCast = NULL;
|
||||||
isMulti = false;
|
isMulti = false;
|
||||||
|
xColor = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ManaCost::resetCosts()
|
void ManaCost::resetCosts()
|
||||||
|
|||||||
Reference in New Issue
Block a user