From b4cf633f66491956dcb94e7fa39e687f9341b7e1 Mon Sep 17 00:00:00 2001 From: darkvater Date: Fri, 3 Sep 2004 21:48:21 +0000 Subject: (svn r156) -Codechange: remove obsolete callback arrays --- settings_gui.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'settings_gui.c') diff --git a/settings_gui.c b/settings_gui.c index d4718f381..8fdc80464 100644 --- a/settings_gui.c +++ b/settings_gui.c @@ -672,10 +672,10 @@ int32 v_PositionMainToolbar(int32 p1) int32 AiNew_PatchActive_Warning(int32 p1) { - if (p1 == 1) - ShowErrorMessage(-1, TEMP_AI_ACTIVATED, 0, 0); - - return 0; + if (p1 == 1) + ShowErrorMessage(-1, TEMP_AI_ACTIVATED, 0, 0); + + return 0; } int32 InvisibleTreesActive(int32 p1) @@ -685,9 +685,6 @@ int32 InvisibleTreesActive(int32 p1) } typedef int32 PatchButtonClick(int32); -static PatchButtonClick * const _patch_button_proc[] = { - &v_PositionMainToolbar, -}; typedef struct PatchEntry { byte type; // type of selector -- cgit v1.2.3-54-g00ecf