From d7e54f83de70c38e3a1e03abcb24a73f0e69832c Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 5 Feb 2020 18:55:10 +0100 Subject: [PATCH] - fixed ShadowWarrior's 'map' CCMD. --- source/sw/src/osdcmds.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/sw/src/osdcmds.cpp b/source/sw/src/osdcmds.cpp index cda49d688..d91141b86 100644 --- a/source/sw/src/osdcmds.cpp +++ b/source/sw/src/osdcmds.cpp @@ -72,7 +72,7 @@ static int osdcmd_map(osdcmdptr_t parm) { if (mapList[i].labelName.CompareNoCase(mapname) == 0) { - FStringf cheatcode("swtrek%02d", i+1); + FStringf cheatcode("swtrek%02d", i); WarpCheat(Player, cheatcode); return OSDCMD_OK; }