mirror of https://github.com/OpenRCT2/OpenRCT2.git
Improve environment simulation
This commit is contained in:
parent
8982d87e77
commit
f2f99d7bb1
|
@ -535,6 +535,7 @@ static bool testTrackElement(uint8 rideType, uint8 trackType, utf8string *error)
|
|||
RCT2_GLOBAL(0x009DE56E, sint16) = 64; // y
|
||||
gDidPassSurface = true; // Above surface
|
||||
gSurfaceElement = &surfaceElement;
|
||||
g141E9DB = G141E9DB_FLAG_1 | G141E9DB_FLAG_2;
|
||||
|
||||
callCount = 0;
|
||||
memset(&calls, 0, sizeof(calls));
|
||||
|
|
|
@ -344,6 +344,7 @@ namespace Intercept2
|
|||
|
||||
gSupport.height = 0;
|
||||
gSupport.slope = 0xFF;
|
||||
g141E9DB = G141E9DB_FLAG_1 | G141E9DB_FLAG_2;
|
||||
|
||||
uint32 *trackDirectionList = (uint32 *)RideTypeTrackPaintFunctionsOld[rideType][trackType];
|
||||
|
||||
|
|
Loading…
Reference in New Issue