mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-04 05:19:59 +00:00
Fix some sanitizer errors, improve POSIX streamer
This commit is contained in:
parent
ea4007a13c
commit
8c170a62ee
10 changed files with 301 additions and 158 deletions
|
@ -22,8 +22,13 @@ uint32 CTheCarGenerators::CurrentActiveCount;
|
|||
|
||||
void CCarGenerator::SwitchOff()
|
||||
{
|
||||
m_nUsesRemaining = 0;
|
||||
--CTheCarGenerators::CurrentActiveCount;
|
||||
#ifdef FIX_BUGS
|
||||
if (m_nUsesRemaining != 0)
|
||||
#endif
|
||||
{
|
||||
m_nUsesRemaining = 0;
|
||||
--CTheCarGenerators::CurrentActiveCount;
|
||||
}
|
||||
}
|
||||
|
||||
void CCarGenerator::SwitchOn()
|
||||
|
|
|
@ -111,7 +111,7 @@ public:
|
|||
CAutoPilot AutoPilot;
|
||||
uint8 m_currentColour1;
|
||||
uint8 m_currentColour2;
|
||||
uint8 m_aExtras[2];
|
||||
int8 m_aExtras[2];
|
||||
int16 m_nAlarmState;
|
||||
int16 m_nMissionValue;
|
||||
CPed *pDriver;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue