mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 05:23:04 +01:00
Use macro for currentViewportFlags
This commit is contained in:
@@ -1012,7 +1012,7 @@ void vehicle_visual_mini_golf_player(int x, int imageDirection, int y, int z, rc
|
||||
return;
|
||||
}
|
||||
|
||||
if (RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_VIEWPORT_FLAGS, uint16) & VIEWPORT_FLAG_INVISIBLE_PEEPS) {
|
||||
if (gCurrentViewportFlags & VIEWPORT_FLAG_INVISIBLE_PEEPS) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1041,7 +1041,7 @@ void vehicle_visual_mini_golf_ball(int x, int imageDirection, int y, int z, rct_
|
||||
return;
|
||||
}
|
||||
|
||||
if (RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_VIEWPORT_FLAGS, uint16) & VIEWPORT_FLAG_INVISIBLE_PEEPS) {
|
||||
if (gCurrentViewportFlags & VIEWPORT_FLAG_INVISIBLE_PEEPS) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user