diff --git a/src/game.c b/src/game.c index cb06621971..126f83b4c5 100644 --- a/src/game.c +++ b/src/game.c @@ -2188,7 +2188,6 @@ static int game_check_affordability(int cost) } static uint32 game_do_command_table[58]; -typedef void (GAME_COMMAND_POINTER)(int* eax, int* ebx, int* ecx, int* edx, int* esi, int* edi, int* ebp); static GAME_COMMAND_POINTER* new_game_command_table[58]; /** diff --git a/src/game.h b/src/game.h index 92f11036ad..5c0771ca58 100644 --- a/src/game.h +++ b/src/game.h @@ -82,6 +82,8 @@ enum GAME_COMMAND { GAME_COMMAND_57 }; +typedef void (GAME_COMMAND_POINTER)(int* eax, int* ebx, int* ecx, int* edx, int* esi, int* edi, int* ebp); + void game_create_windows(); void game_update(); void game_logic_update();