From 7698723e434c77216ad7e4d4c0f5642bc22665f5 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Thu, 20 Aug 2020 07:43:57 +1000 Subject: [PATCH] - SW: Fix cheats via the console following changes in e22d9b21e4bd96631889141f38d0fe1ee14f5a7c. --- source/sw/src/osdcmds.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/source/sw/src/osdcmds.cpp b/source/sw/src/osdcmds.cpp index 93e4dd73f..fcba37213 100644 --- a/source/sw/src/osdcmds.cpp +++ b/source/sw/src/osdcmds.cpp @@ -101,19 +101,19 @@ static int osdcmd_map(CCmdFuncPtr parm) static int osdcmd_god(CCmdFuncPtr) { - C_DoCommand("activatecheat swgod"); + C_DoCommand("activatecheat lwgod"); return CCMD_OK; } static int osdcmd_noclip(CCmdFuncPtr) { - C_DoCommand("activatecheat swghost"); + C_DoCommand("activatecheat lwghost"); return CCMD_OK; } int osdcmd_restartmap(CCmdFuncPtr) { - C_DoCommand("activatecheat swstart"); + C_DoCommand("activatecheat lwstart"); return CCMD_OK; } @@ -134,37 +134,37 @@ static int osdcmd_give(CCmdFuncPtr parm) if (!stricmp(parm->parms[0], "all")) { - C_DoCommand("activatecheat swgimme"); + C_DoCommand("activatecheat lwgimme"); return CCMD_OK; } else if (!stricmp(parm->parms[0], "health")) { - C_DoCommand("activatecheat swmedic"); + C_DoCommand("activatecheat lwmedic"); return CCMD_OK; } else if (!stricmp(parm->parms[0], "weapons")) { - C_DoCommand("activatecheat swguns"); + C_DoCommand("activatecheat lwguns"); return CCMD_OK; } else if (!stricmp(parm->parms[0], "ammo")) { - C_DoCommand("activatecheat swammo"); + C_DoCommand("activatecheat lwammo"); return CCMD_OK; } else if (!stricmp(parm->parms[0], "armor")) { - C_DoCommand("activatecheat swarmor"); + C_DoCommand("activatecheat lwarmor"); return CCMD_OK; } else if (!stricmp(parm->parms[0], "keys")) { - C_DoCommand("activatecheat swkeys"); + C_DoCommand("activatecheat lwkeys"); return CCMD_OK; } else if (!stricmp(parm->parms[0], "inventory")) { - C_DoCommand("activatecheat switems"); + C_DoCommand("activatecheat lwitems"); return CCMD_OK; } return CCMD_SHOWHELP;