Skip to content

Commit 9de1ad9

Browse files
committed
Fix Drive and Ship
1 parent 925d237 commit 9de1ad9

2 files changed

Lines changed: 8 additions & 9 deletions

File tree

DriveLocomotionClass.h

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,23 +34,22 @@ class NOVTABLE DriveLocomotionClass : public LocomotionClass, public IPiggyback
3434

3535
public:
3636

37-
DWORD PreviousRamp;
38-
DWORD CurrentRamp;
37+
int CurrentRamp;
38+
int PreviousRamp;
3939
RateTimer SlopeTimer;
4040
CoordStruct Destination;
4141
CoordStruct HeadToCoord;
4242
int SpeedAccum;
4343
double movementspeed_50;
44-
DWORD TrackNumber;
44+
int TrackNumber;
4545
int TrackIndex;
4646
bool IsOnShortTrack;
4747
BYTE IsTurretLockedDown;
4848
bool IsRotating;
4949
bool IsDriving;
5050
bool IsRocking;
51-
bool IsLocked;
51+
bool UnLocked;
5252
ILocomotion* Piggybackee;
53-
int field_6C;
5453
};
5554

5655
static_assert(sizeof(DriveLocomotionClass) == 0x70);

ShipLocomotionClass.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,21 @@ class NOVTABLE ShipLocomotionClass : public LocomotionClass, public IPiggyback
3030

3131
public:
3232

33-
DWORD PreviousRamp;
34-
DWORD CurrentRamp;
33+
int CurrentRamp;
34+
int PreviousRamp;
3535
RateTimer SlopeTimer;
3636
CoordStruct Destination;
3737
CoordStruct HeadToCoord;
3838
int SpeedAccum;
3939
double movementspeed_50;
40-
DWORD TrackNumber;
40+
int TrackNumber;
4141
int TrackIndex;
4242
bool IsOnShortTrack;
4343
BYTE IsTurretLockedDown;
4444
bool IsRotating;
4545
bool IsDriving;
4646
bool IsRocking;
47-
bool IsLocked;
47+
bool UnLocked;
4848
ILocomotion* Piggybackee;
4949
};
5050

0 commit comments

Comments
 (0)