Permalink
Browse files

fix linux problem

  • Loading branch information...
1 parent 2cccfa7 commit d0a1808cfa02bddace5c2d5cdde30acdeff8c421 @core-code committed Nov 7, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −0 Classes/Track.mm
  2. +1 −1 GNUmakefile
View
@@ -72,6 +72,7 @@ - (id)initWithTracknumber:(uint8_t)_tracknum andMeshtracknumber:(uint8_t)_meshnu
[enemyData getBytes:enemyPath[i]];
}
+#ifndef NODATA
#ifndef TARGET_OS_IPHONE
if (!game.trackName)
{
@@ -104,6 +105,7 @@ - (id)initWithTracknumber:(uint8_t)_tracknum andMeshtracknumber:(uint8_t)_meshnu
trackLightBuffer[0] = (char)(lightSum / trackPoints);
}
#endif
+#endif
}
return self;
Oops, something went wrong.

0 comments on commit d0a1808

Please sign in to comment.