From 59145cea83da6d0ade8221dbe8c1469be8084ea0 Mon Sep 17 00:00:00 2001 From: aap Date: Fri, 19 Jul 2019 11:57:12 +0200 Subject: CAutomobile ctor, car spawner, fixes --- src/entities/Entity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/entities/Entity.cpp') diff --git a/src/entities/Entity.cpp b/src/entities/Entity.cpp index 10677bdf..1882c3b5 100644 --- a/src/entities/Entity.cpp +++ b/src/entities/Entity.cpp @@ -42,7 +42,7 @@ CEntity::CEntity(void) bUseCollisionRecords = false; bWasPostponed = false; - m_flagB2 = false; + bExplosionProof = false; bIsVisible = true; bHasCollided = false; bRenderScorched = false; -- cgit v1.2.3 From a04d8f24be355b69bbba88b50055f2b1420fc29f Mon Sep 17 00:00:00 2001 From: Filip Gawin Date: Mon, 8 Jul 2019 21:44:32 +0200 Subject: ComputeDopplerEffectedFrequency --- src/entities/Entity.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/entities/Entity.cpp') diff --git a/src/entities/Entity.cpp b/src/entities/Entity.cpp index 1882c3b5..fb6a93c1 100644 --- a/src/entities/Entity.cpp +++ b/src/entities/Entity.cpp @@ -13,11 +13,11 @@ #include "Glass.h" #include "Clock.h" #include "Weather.h" -#include "TimeCycle.h" +#include "Timecycle.h" #include "Bridge.h" #include "TrafficLights.h" #include "Coronas.h" -#include "Pointlights.h" +#include "PointLights.h" #include "Shadows.h" #include "Pickups.h" #include "SpecialFX.h" -- cgit v1.2.3 From fe03ba825ac89184eaa599420767ea1aad2328aa Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Fri, 19 Jul 2019 22:45:58 +0300 Subject: fixed references leak --- src/entities/Entity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/entities/Entity.cpp') diff --git a/src/entities/Entity.cpp b/src/entities/Entity.cpp index 1882c3b5..42afd2e0 100644 --- a/src/entities/Entity.cpp +++ b/src/entities/Entity.cpp @@ -535,7 +535,7 @@ CEntity::ResolveReferences(void) for(ref = m_pFirstReference; ref->next; ref = ref->next) ; ref->next = CReferences::pEmptyList; - CReferences::pEmptyList = ref; + CReferences::pEmptyList = m_pFirstReference; m_pFirstReference = nil; } } -- cgit v1.2.3