added functions to get current player position for all game engines
[rocksndiamonds.git] / src / game_sp / main.c
index f9dcecc5b63d377473810d2a8611166c5b9bd0cd..92fc9120dcee90e756c0f12b3f20054e81dcc795 100644 (file)
@@ -73,7 +73,8 @@ void GameActions_SP(byte action[MAX_PLAYERS], boolean warp_mode)
   byte single_player_action = action[0];
   int x, y;
 
   byte single_player_action = action[0];
   int x, y;
 
-  UpdateEngineValues(mScrollX / TILEX, mScrollY / TILEY);
+  UpdateEngineValues(mScrollX / TILEX, mScrollY / TILEY,
+                    MurphyScreenXPos / TILEX, MurphyScreenYPos / TILEY);
 
   subMainGameLoop_Main(single_player_action, warp_mode);
 
 
   subMainGameLoop_Main(single_player_action, warp_mode);