1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 16:24:35 +01:00
This commit is contained in:
IntelOrca
2015-08-31 00:41:58 +01:00
parent 401a389e73
commit dd5d607724
2 changed files with 2 additions and 2 deletions

View File

@@ -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
};

View File

@@ -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);