car control and friends
This commit is contained in:
1 parent
a8d8c0690d
commit
40888e9486
13 files changed
+189
-128
No files matched your search
@@ -927,10 +927,10 @@ CFileLoader::LoadCarPathNode(const char *line, int id, int node, bool waterPath)
|
||||
|
||||
if(id == -1)
|
||||
ThePaths.StoreDetachedNodeInfoCar(node, type, next, x, y, z, width, numLeft, numRight,
|
||||
!!(flags&1), !!(flags&4), speed, !!(flags&2), waterPath, spawnRate, false);
|
||||
!!(flags&1), !!(flags&4), speed, !!(flags&2), waterPath, spawnRate * 15, false);
|
||||
else
|
||||
ThePaths.StoreNodeInfoCar(id, node, type, next, x, y, z, 0, numLeft, numRight,
|
||||
!!(flags&1), !!(flags&4), speed, !!(flags&2), waterPath, spawnRate);
|
||||
!!(flags&1), !!(flags&4), speed, !!(flags&2), waterPath, spawnRate * 15);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -58,6 +58,8 @@ public:
|
||||
static void ShutDownForRestart(void);
|
||||
static void InitialiseWhenRestarting(void);
|
||||
static void Process(void);
|
||||
|
||||
static bool IsInInterior(void) { return currArea != AREA_MAIN_MAP; }
|
||||
|
||||
// NB: these do something on PS2
|
||||
static void TidyUpMemory(bool, bool);
|
||||
|
||||
Reference in new issue
Block a user