rnd-20060226-3-src
[rocksndiamonds.git] / src / events.c
index f478a86bee482edd481952a5cee3325d92fcb776..4d7a7a36d68ee479fb0b8c1644c6935f5a5212cf 100644 (file)
@@ -700,11 +700,11 @@ void HandleKey(Key key, int key_status)
 
   if (game_status == GAME_MODE_PLAYING)
   {
-    if (key == KSYM_5)
+    if (key == setup.shortcut.focus_player_all)
       game.centered_player_nr_next = -1;
     else
       for (i = 0; i < MAX_PLAYERS; i++)
-       if (key == KSYM_1 + i)
+       if (key == setup.shortcut.focus_player[i])
          game.centered_player_nr_next = i;
   }