- fixed ShadowWarrior's 'map' CCMD.

This commit is contained in:
Christoph Oelckers 2020-02-05 18:55:10 +01:00
parent 4b0db4893a
commit d7e54f83de

View file

@ -72,7 +72,7 @@ static int osdcmd_map(osdcmdptr_t parm)
{ {
if (mapList[i].labelName.CompareNoCase(mapname) == 0) if (mapList[i].labelName.CompareNoCase(mapname) == 0)
{ {
FStringf cheatcode("swtrek%02d", i+1); FStringf cheatcode("swtrek%02d", i);
WarpCheat(Player, cheatcode); WarpCheat(Player, cheatcode);
return OSDCMD_OK; return OSDCMD_OK;
} }