[Freeciv-Dev] end turn if !player->is_alive
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Hello,
here is a small patch which autohit turn for 'dead' players.
Index: client/packhand.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/packhand.c,v
retrieving revision 1.59
diff -u -r1.59 packhand.c
--- packhand.c 1999/05/03 12:37:02 1.59
+++ packhand.c 1999/05/08 00:33:29
@@ -294,7 +294,8 @@
meswin_update_delay_off();
update_meswin_dialog();
- if(game.player_ptr->ai.control && !ai_manual_turn_done) user_ended_turn();
+ if((game.player_ptr->is_alive) ||
+ (game.player_ptr->ai.control && !ai_manual_turn_done)) user_ended_turn();
}
void handle_before_new_year()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] end turn if !player->is_alive,
Nicolas Brunel <=
|
|