src/GameState.hh
branchnew_graphics
changeset 417 c503e0c6a740
parent 414 cede5463b845
--- a/src/GameState.hh	Thu Jan 22 00:28:26 2009 +0200
+++ b/src/GameState.hh	Thu Jan 22 01:53:05 2009 +0200
@@ -93,11 +93,13 @@
      * Removes the given player from player_list. If the given player was the local_player, set that to NULL
      */
     void removePlayer (Player *player);
-    
+
+#if GRAPHICS_ENABLED    
     /**
      * Draws the terrain, players and projectiles
      */
     virtual void draw (graphics::Display &display, PixelCoordinate camera, bool displayWeapon);
+#endif
 };
 
 #endif