1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 21:13:05 +01:00

Initialise paint session with rotation

This commit is contained in:
Michał Janiszewski
2018-02-12 22:33:07 +01:00
committed by Michał Janiszewski
parent 8ab1035ebe
commit 0bf250d8b8
2 changed files with 2 additions and 0 deletions

View File

@@ -198,6 +198,7 @@ void paint_session_generate(paint_session * session)
sint16 half_x = mapTile.x >> 1;
uint16 num_vertical_quadrants = (dpi->height + 2128) >> 5;
session->CurrentRotation = get_current_rotation();
switch (get_current_rotation())
{
case 0:

View File

@@ -145,6 +145,7 @@ struct paint_session
paint_struct * UnkF1AD28;
attached_paint_struct * UnkF1AD2C;
uint8 InteractionType;
uint8 CurrentRotation;
support_height SupportSegments[9];
support_height Support;
paint_string_struct * PSStringHead;