From f75460fc1d83f82b088aaf69d6fba869fc1569f5 Mon Sep 17 00:00:00 2001
From: Sergeanur <s.anureev@yandex.ua>
Date: Tue, 29 Dec 2020 13:55:15 +0200
Subject: Reorder CEntity functions into their original order

---
 src/render/Renderer.cpp | 13 +++++++++++++
 1 file changed, 13 insertions(+)

(limited to 'src/render/Renderer.cpp')

diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp
index d47cac31..2559b743 100644
--- a/src/render/Renderer.cpp
+++ b/src/render/Renderer.cpp
@@ -920,6 +920,19 @@ CRenderer::RequestObjectsInFrustum(void)
 	}
 }
 
+bool
+CEntity::SetupLighting(void)
+{
+	DeActivateDirectional();
+	SetAmbientColours();
+	return false;
+}
+
+void
+CEntity::RemoveLighting(bool)
+{
+}
+
 bool
 CPed::SetupLighting(void)
 {
-- 
cgit v1.2.3-70-g09d2