* fixed little bug when trying to switch to player that does not exist
* added player switching (visual and quick) to R'n'D and EM game engine
* added setup option to select visual or quick in-game player switching
+2006-02-22
+ * fixed little bug when trying to switch to player that does not exist
+
+2006-02-19
+ * added player switching (visual and quick) to R'n'D and EM game engine
+ * added setup option to select visual or quick in-game player switching
+
2006-02-16
* added use of "Home" and "End" keys to handle element list in editor
-#define COMPILE_DATE_STRING "[2006-02-19 21:10]"
+#define COMPILE_DATE_STRING "[2006-02-22 23:30]"
if (ScreenMovPos == 0) /* screen currently aligned at tile position */
{
+ struct PlayerInfo *player = &stored_player[game.centered_to_player_next];
+
+ if (!player->active)
+ game.centered_to_player_next = game.centered_to_player;
+
if (game.centered_to_player != game.centered_to_player_next)
{
- struct PlayerInfo *player = &stored_player[game.centered_to_player_next];
-
DrawRelocatePlayer(player, setup.quick_switch);
game.centered_to_player = game.centered_to_player_next;
int getCenteredPlayer_EM()
{
+ if (!native_em_level.ply[game.centered_to_player_next]->alive)
+ game.centered_to_player_next = game.centered_to_player;
+
if (game.centered_to_player != game.centered_to_player_next)
game.centered_to_player = game.centered_to_player_next;