aboutsummaryrefslogtreecommitdiff
path: root/src/render/PointLights.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-17 16:31:11 +0300
committerSergeanur <s.anureev@yandex.ua>2020-04-17 16:31:11 +0300
commit599164006a9e7eb7328fc194c9bae1acbb2c887d (patch)
treec4dc5a5e2bf370e74ffc8ab4b9220ea6e066e952 /src/render/PointLights.cpp
parentc8af08330aadf92a1ddf54d966c96193ae7266c1 (diff)
Remove patches
Diffstat (limited to 'src/render/PointLights.cpp')
-rw-r--r--src/render/PointLights.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/render/PointLights.cpp b/src/render/PointLights.cpp
index 92a89582..55be40b2 100644
--- a/src/render/PointLights.cpp
+++ b/src/render/PointLights.cpp
@@ -1,5 +1,5 @@
#include "common.h"
-#include "patcher.h"
+
#include "main.h"
#include "Lights.h"
#include "Camera.h"
@@ -284,10 +284,3 @@ CPointLights::RenderFogEffect(void)
}
}
}
-
-STARTPATCHES
- InjectHook(0x510790, CPointLights::AddLight, PATCH_JUMP);
- InjectHook(0x510960, CPointLights::GenerateLightsAffectingObject, PATCH_JUMP);
- InjectHook(0x510C20, CPointLights::RemoveLightsAffectingObject, PATCH_JUMP);
- InjectHook(0x510C30, CPointLights::RenderFogEffect, PATCH_JUMP);
-ENDPATCHES