mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-23 22:11:01 +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);
|
||||
|
||||
R_AllocateTextures(newtextures);
|
||||
newtextures = R_DefineTextures(numtextures, wadnum);
|
||||
newtextures = R_DefineTextures(numtextures, wadnum) - numtextures;
|
||||
R_FinishLoadingTextures(newtextures);
|
||||
|
||||
R_PrintTextureWarnings();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue