mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 21:13:05 +01:00
Create constant for SCROLLING_MODE_NONE
This commit is contained in:
committed by
GitHub
parent
d143c7b7c6
commit
2a4215a30f
@@ -17,6 +17,7 @@
|
||||
#include "../ride/RideData.h"
|
||||
#include "../ride/Track.h"
|
||||
#include "../world/Wall.h"
|
||||
#include "Banner.h"
|
||||
#include "Footpath.h"
|
||||
#include "LargeScenery.h"
|
||||
#include "Map.h"
|
||||
@@ -561,7 +562,8 @@ static bool map_animation_invalidate_wall(int32_t x, int32_t y, int32_t baseZ)
|
||||
sceneryEntry = tileElement->AsWall()->GetEntry();
|
||||
|
||||
if (!sceneryEntry
|
||||
|| (!(sceneryEntry->wall.flags2 & WALL_SCENERY_2_ANIMATED) && sceneryEntry->wall.scrolling_mode == 255))
|
||||
|| (!(sceneryEntry->wall.flags2 & WALL_SCENERY_2_ANIMATED)
|
||||
&& sceneryEntry->wall.scrolling_mode == SCROLLING_MODE_NONE))
|
||||
continue;
|
||||
|
||||
int32_t z = tileElement->base_height * 8;
|
||||
|
||||
Reference in New Issue
Block a user