added functions to get current player position for all game engines
[rocksndiamonds.git] / src / game_em / input.c
index f7542440b6e3270185962a36e1cd3c1a9570920c..4028f19a553f692e9dc7a3541358f0ab24d27918 100644 (file)
@@ -83,7 +83,7 @@ void GameActions_EM(byte action[MAX_PLAYERS], boolean warp_mode)
   for (i = 0; i < MAX_PLAYERS; i++)
     readjoy(action[i], &ply[i]);
 
-  UpdateEngineValues(screen_x / TILEX, screen_y / TILEY);
+  UpdateEngineValues(screen_x / TILEX, screen_y / TILEY, ply[0].x, ply[0].y);
 
   if (frame == 7)
   {