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:
committed by
Michał Janiszewski
parent
8ab1035ebe
commit
0bf250d8b8
@@ -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:
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user