From dd5d6077246e66b04501d0fc38d88ff458c7fef0 Mon Sep 17 00:00:00 2001 From: IntelOrca Date: Mon, 31 Aug 2015 00:41:58 +0100 Subject: [PATCH] fix typo --- src/game.h | 2 +- src/windows/top_toolbar.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game.h b/src/game.h index f753333455..28f76ddd82 100644 --- a/src/game.h +++ b/src/game.h @@ -93,7 +93,7 @@ enum { GAME_COMMAND_FLAG_4 = (1 << 4), GAME_COMMAND_FLAG_5 = (1 << 5), GAME_COMMAND_FLAG_GHOST = (1 << 6), - GAME_COOMAND_FLAG_7, + GAME_COMMAND_FLAG_7, GAME_COMMAND_FLAG_NETWORKED = (1 << 31) // Game command is coming from network }; diff --git a/src/windows/top_toolbar.c b/src/windows/top_toolbar.c index 8a4e678c74..892faf9de5 100644 --- a/src/windows/top_toolbar.c +++ b/src/windows/top_toolbar.c @@ -1516,7 +1516,7 @@ static void window_top_toolbar_scenery_tool_down(short x, short y, rct_window *w } case SCENERY_TYPE_PATH_ITEM: { - int flags = GAME_COMMAND_FLAG_APPLY | GAME_COOMAND_FLAG_7 | (parameter_1 & 0xFF00); + int flags = GAME_COMMAND_FLAG_APPLY | GAME_COMMAND_FLAG_7 | (parameter_1 & 0xFF00); RCT2_GLOBAL(RCT2_ADDRESS_GAME_COMMAND_ERROR_TITLE, rct_string_id) = STR_CANT_POSITION_THIS_HERE; int cost = game_do_command(gridX, flags, gridY, parameter_2, GAME_COMMAND_PLACE_PATH, parameter_3, 0);