From 6d04c36926d7789962abc629aff57d6a48dfbcd2 Mon Sep 17 00:00:00 2001 From: mrsmola Date: Thu, 18 Jan 2007 17:22:42 +0000 Subject: [PATCH] included training camp --- src/callbacks.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/callbacks.c b/src/callbacks.c index 489af94b..6eba8a6a 100644 --- a/src/callbacks.c +++ b/src/callbacks.c @@ -1243,3 +1243,19 @@ on_hpaned2_button_release_event (GtkWidget *widget, return FALSE; } + +void +on_training_camp_activate (GtkMenuItem *menuitem, + gpointer user_data) +{ + if(sett_int("int_opt_disable_training_camp")) + { + game_gui_print_message( + _("Training camp is disabled in this country definition.")); + return; + } + + window_show_training_camp(); + +} +