1.1 patch stuff

This commit is contained in:
Nikolay Korolev
2020-04-19 17:38:10 +03:00
parent bcc3a8b6c7
commit 9e65eb34ec
13 changed files with 109 additions and 2 deletions

View File

@@ -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
}
}
};