Improve environment simulation

This commit is contained in:
Marijn van der Werf 2016-09-16 14:22:53 +02:00
parent 8982d87e77
commit f2f99d7bb1
2 changed files with 2 additions and 0 deletions

View File

@ -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));

View File

@ -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];