- treat configurations which load a secondary WAD on top of a primary IWAD like SVE to consider the secondary WAD an actual IWAD as well.
This fixes localization of the SVE menu.
This commit is contained in:
parent
7d87df25d8
commit
8177583e2f
10 changed files with 27 additions and 19 deletions
|
|
@ -836,7 +836,7 @@ static int SetupCrouchSprite(AActor *self, int crouchsprite)
|
|||
int wadnorm = Wads.GetLumpFile(spritenorm);
|
||||
int wadcrouch = Wads.GetLumpFile(spritenorm);
|
||||
|
||||
if (wadnorm > Wads.GetIwadNum() && wadcrouch <= Wads.GetIwadNum())
|
||||
if (wadnorm > Wads.GetMaxIwadNum() && wadcrouch <= Wads.GetMaxIwadNum())
|
||||
{
|
||||
// Question: Add an option / disable crouching or do what?
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue