Remove off by one """"fix""""

This commit is contained in:
Sally Coolatta 2021-12-23 03:23:42 -05:00 committed by SinnamonLat
parent 5429fc5dc6
commit 150f514c80

View file

@ -810,7 +810,7 @@ static void K_ParseSplashParameter(size_t i, char *param, char *val)
if (stricmp(param, "mobjType") == 0) if (stricmp(param, "mobjType") == 0)
{ {
splash->mobjType = get_number(val) + 1; splash->mobjType = get_number(val);
} }
else if (stricmp(param, "sfx") == 0) else if (stricmp(param, "sfx") == 0)
{ {
@ -910,7 +910,7 @@ static void K_ParseFootstepParameter(size_t i, char *param, char *val)
if (stricmp(param, "mobjType") == 0) if (stricmp(param, "mobjType") == 0)
{ {
footstep->mobjType = get_number(val) + 1; footstep->mobjType = get_number(val);
} }
else if (stricmp(param, "sfx") == 0) else if (stricmp(param, "sfx") == 0)
{ {