mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-08 19:50:36 +00:00
Merge remote-tracking branch 'origin/master' into miami
# Conflicts: # src/control/Script.cpp # src/core/Cam.cpp # src/core/Camera.cpp # src/core/Camera.h # src/render/Fluff.cpp # src/render/Hud.cpp
This commit is contained in:
commit
655eaa36ce
9 changed files with 134 additions and 28 deletions
|
@ -920,6 +920,8 @@ CBoat::AddWakePoint(CVector point)
|
|||
}
|
||||
m_avec2dWakePoints[0] = point;
|
||||
m_afWakePointLifeTime[0] = 400.0f;
|
||||
if(m_nNumWakePoints < ARRAY_SIZE(m_afWakePointLifeTime))
|
||||
m_nNumWakePoints++;
|
||||
}
|
||||
}else{
|
||||
m_avec2dWakePoints[0] = point;
|
||||
|
|
|
@ -663,8 +663,8 @@ PlayAnnouncement(uint8 sound, uint8 station)
|
|||
void
|
||||
ProcessTrainAnnouncements(void)
|
||||
{
|
||||
for (int i = 0; i < 3; i++) {
|
||||
for (int j = 0; j < 3; j++) {
|
||||
for (int i = 0; i < ARRAY_SIZE(StationDist); i++) {
|
||||
for (int j = 0; j < ARRAY_SIZE(EngineTrackPosition); j++) {
|
||||
if (!bTrainArrivalAnnounced[i]) {
|
||||
float preDist = StationDist[i] - 100.0f;
|
||||
if (preDist < 0.0f)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue