aboutsummaryrefslogtreecommitdiffstats
path: root/src/render/2dEffect.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-19 17:38:10 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-19 17:38:10 +0300
commit9e65eb34ec834de082154ee7559cd1c418f02ae6 (patch)
treec0c12ec094feb67e7ad98c5e8d48440b37035421 /src/render/2dEffect.h
parentbcc3a8b6c76ef5851af350ef4d839ef44d473f56 (diff)
1.1 patch stuff
Diffstat (limited to 'src/render/2dEffect.h')
-rw-r--r--src/render/2dEffect.h6
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
}
}
};