mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
R_LoadTexturePwad: fix faulty texture counting
This fixes the game trying to load textures that don't exist from addons.
This commit is contained in:
parent
e1f4aef2ef
commit
dca764e81d
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