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

This commit is contained in:
Richard Jenkins authored and Michael Steenbeek committed 2017-03-26 15:31:21 +02:00
1 parent 44db9ce80c
commit ccce7b0432
2 files changed
+2 -2

No files matched your search

+1 -1
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
+1 -1
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;
}
}