diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-04-17 09:17:38 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-04-17 09:17:38 +0200 |
commit | b9c8ce0d37b2f094e2d8fe1a71db009718a0a006 (patch) | |
tree | 4861c474aa232d2914f5b6b3bc11a8e62a9ceccb /src/render/PointLights.cpp | |
parent | Merge remote-tracking branch 'samler/world' into Standalone (diff) | |
parent | rem refs (diff) | |
download | re3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.tar re3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.tar.gz re3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.tar.bz2 re3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.tar.lz re3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.tar.xz re3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.tar.zst re3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/PointLights.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/PointLights.cpp b/src/render/PointLights.cpp index a015ec54..92a89582 100644 --- a/src/render/PointLights.cpp +++ b/src/render/PointLights.cpp @@ -10,8 +10,8 @@ #include "Timer.h" #include "PointLights.h" -int16 &CPointLights::NumLights = *(int16*)0x95CC3E; -CRegisteredPointLight *CPointLights::aLights = (CRegisteredPointLight*)0x7096D0; +int16 CPointLights::NumLights; +CRegisteredPointLight CPointLights::aLights[NUMPOINTLIGHTS]; void CPointLights::InitPerFrame(void) @@ -114,7 +114,7 @@ CPointLights::GenerateLightsAffectingObject(CVector *objCoors) return ret; } -extern RwRaster *&gpPointlightRaster; +extern RwRaster *gpPointlightRaster; void CPointLights::RemoveLightsAffectingObject(void) |