diff options
author | aap <aap@papnet.eu> | 2020-04-26 23:54:48 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-04-26 23:54:48 +0200 |
commit | a069aa57dba36603b44ae282765fd8352ddd3a3d (patch) | |
tree | c487cfb3053bced222fda2fa1fcf45cb501f5242 /src/render/2dEffect.h | |
parent | librw update (diff) | |
parent | Merge pull request #489 from Nick007J/master (diff) | |
download | re3-a069aa57dba36603b44ae282765fd8352ddd3a3d.tar re3-a069aa57dba36603b44ae282765fd8352ddd3a3d.tar.gz re3-a069aa57dba36603b44ae282765fd8352ddd3a3d.tar.bz2 re3-a069aa57dba36603b44ae282765fd8352ddd3a3d.tar.lz re3-a069aa57dba36603b44ae282765fd8352ddd3a3d.tar.xz re3-a069aa57dba36603b44ae282765fd8352ddd3a3d.tar.zst re3-a069aa57dba36603b44ae282765fd8352ddd3a3d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/2dEffect.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/render/2dEffect.h b/src/render/2dEffect.h index 62216bca..b0615e4d 100644 --- a/src/render/2dEffect.h +++ b/src/render/2dEffect.h @@ -76,8 +76,14 @@ public: if(type == EFFECT_LIGHT){ if(light.corona) RwTextureDestroy(light.corona); +#ifdef GTA3_1_1_PATCH + light.corona = nil; +#endif if(light.shadow) RwTextureDestroy(light.shadow); +#ifdef GTA3_1_1_PATCH + light.shadow = nil; +#endif } } }; |