summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Vehicle.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-01-30 12:52:48 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2021-02-01 12:18:17 +0100
commit902e539c0d25ec418cd36c735079561f378c712c (patch)
tree7adb03f0e53c02770bda9cdc0e2133b303c8a998 /src/vehicles/Vehicle.cpp
parentwaterlevel: use macro for 400.0f (diff)
downloadre3-902e539c0d25ec418cd36c735079561f378c712c.tar
re3-902e539c0d25ec418cd36c735079561f378c712c.tar.gz
re3-902e539c0d25ec418cd36c735079561f378c712c.tar.bz2
re3-902e539c0d25ec418cd36c735079561f378c712c.tar.lz
re3-902e539c0d25ec418cd36c735079561f378c712c.tar.xz
re3-902e539c0d25ec418cd36c735079561f378c712c.tar.zst
re3-902e539c0d25ec418cd36c735079561f378c712c.zip
Diffstat (limited to 'src/vehicles/Vehicle.cpp')
-rw-r--r--src/vehicles/Vehicle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp
index 0ecc5004..4e6c24ef 100644
--- a/src/vehicles/Vehicle.cpp
+++ b/src/vehicles/Vehicle.cpp
@@ -152,7 +152,7 @@ CVehicle::CVehicle(uint8 CreatedBy)
m_audioEntityId = DMAudio.CreateEntity(AUDIOTYPE_PHYSICAL, this);
if(m_audioEntityId >= 0)
DMAudio.SetEntityStatus(m_audioEntityId, true);
- //m_nRadioStation = CGeneral::GetRandomNumber() % USERTRACK;
+ //m_nRadioStation = CGeneral::GetRandomNumber() % NUM_RADIOS;
switch(GetModelIndex()){
case MI_HUNTER:
case MI_ANGEL:
@@ -169,7 +169,7 @@ CVehicle::CVehicle(uint8 CreatedBy)
m_nRadioStation = RADIO_OFF;
break;
default:
- m_nRadioStation = CGeneral::GetRandomNumber() % USERTRACK;
+ m_nRadioStation = CGeneral::GetRandomNumber() % NUM_RADIOS;
break;
}
m_pCurGroundEntity = nil;