mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-08 23:50:35 +00:00
1.1 patch stuff
This commit is contained in:
parent
bcc3a8b6c7
commit
9e65eb34ec
13 changed files with 109 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
@ -44,10 +44,25 @@ void
|
|||
CClouds::Shutdown(void)
|
||||
{
|
||||
RwTextureDestroy(gpCloudTex[0]);
|
||||
#ifdef GTA3_1_1_PATCH
|
||||
gpCloudTex[0] = nil;
|
||||
#endif
|
||||
RwTextureDestroy(gpCloudTex[1]);
|
||||
#ifdef GTA3_1_1_PATCH
|
||||
gpCloudTex[1] = nil;
|
||||
#endif
|
||||
RwTextureDestroy(gpCloudTex[2]);
|
||||
#ifdef GTA3_1_1_PATCH
|
||||
gpCloudTex[2] = nil;
|
||||
#endif
|
||||
RwTextureDestroy(gpCloudTex[3]);
|
||||
#ifdef GTA3_1_1_PATCH
|
||||
gpCloudTex[3] = nil;
|
||||
#endif
|
||||
RwTextureDestroy(gpCloudTex[4]);
|
||||
#ifdef GTA3_1_1_PATCH
|
||||
gpCloudTex[4] = nil;
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -414,7 +414,19 @@ void
|
|||
CRubbish::Shutdown(void)
|
||||
{
|
||||
RwTextureDestroy(gpRubbishTexture[0]);
|
||||
#ifdef GTA3_1_1_PATCH
|
||||
gpRubbishTexture[0] = nil;
|
||||
#endif
|
||||
RwTextureDestroy(gpRubbishTexture[1]);
|
||||
#ifdef GTA3_1_1_PATCH
|
||||
gpRubbishTexture[1] = nil;
|
||||
#endif
|
||||
RwTextureDestroy(gpRubbishTexture[2]);
|
||||
#ifdef GTA3_1_1_PATCH
|
||||
gpRubbishTexture[2] = nil;
|
||||
#endif
|
||||
RwTextureDestroy(gpRubbishTexture[3]);
|
||||
#ifdef GTA3_1_1_PATCH
|
||||
gpRubbishTexture[3] = nil;
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -54,8 +54,17 @@ void
|
|||
CSkidmarks::Shutdown(void)
|
||||
{
|
||||
RwTextureDestroy(gpSkidTex);
|
||||
#ifdef GTA3_1_1_PATCH
|
||||
gpSkidTex = nil;
|
||||
#endif
|
||||
RwTextureDestroy(gpSkidBloodTex);
|
||||
#ifdef GTA3_1_1_PATCH
|
||||
gpSkidBloodTex = nil;
|
||||
#endif
|
||||
RwTextureDestroy(gpSkidMudTex);
|
||||
#ifdef GTA3_1_1_PATCH
|
||||
gpSkidMudTex = nil;
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue