diff options
author | aap <aap@papnet.eu> | 2020-11-30 18:27:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-30 18:27:46 +0100 |
commit | 356a32eb0954f8f924a4817c7b67d79f80611718 (patch) | |
tree | f3d376094b50e4cdbfe4b65afef37aab1ccde9a6 /src/render/2dEffect.h | |
parent | add debug script hotkey (diff) | |
parent | GTA_VERSION define and some config.h cleanup (diff) | |
download | re3-356a32eb0954f8f924a4817c7b67d79f80611718.tar re3-356a32eb0954f8f924a4817c7b67d79f80611718.tar.gz re3-356a32eb0954f8f924a4817c7b67d79f80611718.tar.bz2 re3-356a32eb0954f8f924a4817c7b67d79f80611718.tar.lz re3-356a32eb0954f8f924a4817c7b67d79f80611718.tar.xz re3-356a32eb0954f8f924a4817c7b67d79f80611718.tar.zst re3-356a32eb0954f8f924a4817c7b67d79f80611718.zip |
Diffstat (limited to 'src/render/2dEffect.h')
-rw-r--r-- | src/render/2dEffect.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/2dEffect.h b/src/render/2dEffect.h index 628d64c2..a8013b34 100644 --- a/src/render/2dEffect.h +++ b/src/render/2dEffect.h @@ -78,12 +78,12 @@ public: if(type == EFFECT_LIGHT){ if(light.corona) RwTextureDestroy(light.corona); -#ifdef GTA3_1_1_PATCH +#if GTA_VERSION >= GTA3_PC_11 light.corona = nil; #endif if(light.shadow) RwTextureDestroy(light.shadow); -#ifdef GTA3_1_1_PATCH +#if GTA_VERSION >= GTA3_PC_11 light.shadow = nil; #endif } |