Pass selected colour to the create banner command, fixes #5316

This commit is contained in:
Richard Jenkins 2017-03-26 14:31:21 +01:00 committed by Michael Steenbeek
parent 44db9ce80c
commit ccce7b0432
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ extern "C" {
// This define specifies which version of network stream current build uses.
// It is used for making sure only compatible builds get connected, even within
// single OpenRCT2 version.
#define NETWORK_STREAM_VERSION "8"
#define NETWORK_STREAM_VERSION "9"
#define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION
#ifdef __cplusplus

View File

@ -1638,7 +1638,7 @@ static void window_top_toolbar_scenery_tool_down(sint16 x, sint16 y, rct_window
gGameCommandErrorTitle = STR_CANT_POSITION_THIS_HERE;
game_command_callback = game_command_callback_place_banner;
game_do_command(gridX, flags, gridY, parameter_2, GAME_COMMAND_PLACE_BANNER, parameter_3, 0);
game_do_command(gridX, flags, gridY, parameter_2, GAME_COMMAND_PLACE_BANNER, parameter_3, gWindowSceneryPrimaryColour);
break;
}
}