From fe9757acfff9b691f9667443083dcdfe17dfa0b3 Mon Sep 17 00:00:00 2001 From: Kevin Burke Date: Wed, 28 May 2014 17:39:58 +0900 Subject: [PATCH] add note about debugging routines --- src/window_game_top_toolbar.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/window_game_top_toolbar.c b/src/window_game_top_toolbar.c index 2f91c6c122..5fd19964d2 100644 --- a/src/window_game_top_toolbar.c +++ b/src/window_game_top_toolbar.c @@ -166,6 +166,11 @@ static void window_game_top_toolbar_mouseup() game_do_command(0, 1, 0, 0, 2, 0, 0); break; case WIDX_FASTFORWARD: + // This is an excellent place to add in debugging statements and + // print routines, that will be triggered when you press the + // button in the game. Use "git update-index --skip-worktree + // src/window_game_top_toolbar" to avoid committing these changes to + // version control. window_cheats_open(); break;