mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 19:01:50 +00:00
Merge branch 'fix-textures-pwad' into 'master'
Fix addons causing a crash because of texture loading See merge request KartKrew/Kart!2121
This commit is contained in:
commit
29149fe3c6
1 changed files with 1 additions and 1 deletions
|
|
@ -1560,7 +1560,7 @@ void R_LoadTexturesPwad(UINT16 wadnum)
|
||||||
INT32 newtextures = R_CountTextures(wadnum);
|
INT32 newtextures = R_CountTextures(wadnum);
|
||||||
|
|
||||||
R_AllocateTextures(newtextures);
|
R_AllocateTextures(newtextures);
|
||||||
newtextures = R_DefineTextures(numtextures, wadnum);
|
newtextures = R_DefineTextures(numtextures, wadnum) - numtextures;
|
||||||
R_FinishLoadingTextures(newtextures);
|
R_FinishLoadingTextures(newtextures);
|
||||||
|
|
||||||
R_PrintTextureWarnings();
|
R_PrintTextureWarnings();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue