From: Christian Heller Date: Mon, 24 Jun 2013 14:37:43 +0000 (+0200) Subject: Moved line to make refactoring easier. X-Git-Tag: tce~1196 X-Git-Url: https://plomlompom.com/repos/%22https:/validator.w3.org/static/todo?a=commitdiff_plain;h=3fca9119dd4fa5dabde64961a76422faf828cad0;p=plomrogue Moved line to make refactoring easier. --- diff --git a/src/roguelike.c b/src/roguelike.c index b38c01b..c823482 100644 --- a/src/roguelike.c +++ b/src/roguelike.c @@ -173,10 +173,10 @@ void move_player (struct World * world, char d) { void player_wait (struct World * world) { // Make player wait one turn. + update_log (world, "\nYou wait."); if (1 == world->interactive) record_action(0); - next_turn (world); - update_log (world, "\nYou wait."); } + next_turn (world); } void toggle_window (struct WinMeta * win_meta, struct Win * win) { // Toggle display of window win.