added pre-processor directive to set if platform has touch device
[rocksndiamonds.git] / src / libgame / system.c
index 6dcf54967fb329fe977934382ff90a55ed10c140..af3e053607781e7e1b83ed5dfb911396584f6441 100644 (file)
@@ -117,7 +117,11 @@ void InitNetworkInfo(boolean enabled, boolean connected, boolean serveronly,
 
 void InitRuntimeInfo()
 {
+#if defined(HAS_TOUCH_DEVICE)
+  runtime.uses_touch_device = TRUE;
+#else
   runtime.uses_touch_device = FALSE;
+#endif
 }
 
 void InitScoresInfo(void)