1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 08:12:53 +01:00

Fix #8201: Only quarter scenery objects in one corner can be painted

This commit is contained in:
Michael Steenbeek
2018-11-05 20:12:22 +01:00
committed by GitHub
parent 39f65e496f
commit df768a3fad
2 changed files with 2 additions and 2 deletions

View File

@@ -995,7 +995,7 @@ static void repaint_scenery_tool_down(int16_t x, int16_t y, rct_widgetindex widg
uint8_t quadrant = tile_element->AsSmallScenery()->GetSceneryQuadrant();
gGameCommandErrorTitle = STR_CANT_REPAINT_THIS;
game_do_command(
grid_x, GAME_COMMAND_FLAG_APPLY | quadrant, grid_y,
grid_x, GAME_COMMAND_FLAG_APPLY | quadrant << 8, grid_y,
tile_element->base_height | (tile_element->AsSmallScenery()->GetEntryIndex() << 8),
GAME_COMMAND_SET_SCENERY_COLOUR, 0, gWindowSceneryPrimaryColour | (gWindowScenerySecondaryColour << 8));
break;

View File

@@ -28,7 +28,7 @@
// This string 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 "7"
#define NETWORK_STREAM_VERSION "8"
#define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION
static rct_peep* _pickup_peep = nullptr;