PSP specific compile error fix when Object Analytics is enabled.
This commit is contained in:
@@ -282,8 +282,10 @@ ManaCost::ManaCost(ManaCost * manaCost)
|
|||||||
// Copy Constructor
|
// Copy Constructor
|
||||||
|
|
||||||
ManaCost::ManaCost(const ManaCost& manaCost)
|
ManaCost::ManaCost(const ManaCost& manaCost)
|
||||||
|
#ifdef SUPPORT_OBJECT_ANALYTICS
|
||||||
|
: InstanceCounter<ManaCost>(manaCost)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
|
|
||||||
for (int i = 0; i <= Constants::MTG_NB_COLORS; i++)
|
for (int i = 0; i <= Constants::MTG_NB_COLORS; i++)
|
||||||
{
|
{
|
||||||
cost[i] = manaCost.cost[i];
|
cost[i] = manaCost.cost[i];
|
||||||
|
|||||||
Reference in New Issue
Block a user