PSP specific compile error fix when Object Analytics is enabled.

This commit is contained in:
wrenczes@gmail.com
2011-04-25 05:24:19 +00:00
parent e91a6a31a0
commit ea2390e336
+3 -1
View File
@@ -282,8 +282,10 @@ ManaCost::ManaCost(ManaCost * manaCost)
// Copy Constructor
ManaCost::ManaCost(const ManaCost& manaCost)
#ifdef SUPPORT_OBJECT_ANALYTICS
: InstanceCounter<ManaCost>(manaCost)
#endif
{
for (int i = 0; i <= Constants::MTG_NB_COLORS; i++)
{
cost[i] = manaCost.cost[i];