mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- fixed copy/pasted broken 'map' CCMD.
This commit is contained in:
parent
2334787f1b
commit
4bf519dcb0
4 changed files with 8 additions and 11 deletions
|
@ -73,12 +73,12 @@ static int osdcmd_levelwarp(osdcmdptr_t parm)
|
|||
|
||||
static int osdcmd_map(osdcmdptr_t parm)
|
||||
{
|
||||
FString mapname;
|
||||
|
||||
if (parm->numparms != 1)
|
||||
{
|
||||
return OSDCMD_SHOWHELP;
|
||||
}
|
||||
FString mapname = parm->parms[0];
|
||||
|
||||
if (!fileSystem.Lookup(mapname, "MAP"))
|
||||
{
|
||||
|
|
|
@ -63,12 +63,11 @@ static int osdcmd_noclip(osdcmdptr_t UNUSED(parm))
|
|||
|
||||
static int osdcmd_map(osdcmdptr_t parm)
|
||||
{
|
||||
FString mapname;
|
||||
|
||||
if (parm->numparms != 1)
|
||||
{
|
||||
return OSDCMD_SHOWHELP;
|
||||
}
|
||||
FString mapname = parm->parms[0];
|
||||
|
||||
if (!fileSystem.Lookup(mapname, "MAP"))
|
||||
{
|
||||
|
|
|
@ -71,12 +71,11 @@ static int osdcmd_levelwarp(osdcmdptr_t parm)
|
|||
|
||||
static int osdcmd_map(osdcmdptr_t parm)
|
||||
{
|
||||
FString mapname;
|
||||
|
||||
if (parm->numparms != 1)
|
||||
{
|
||||
return OSDCMD_SHOWHELP;
|
||||
}
|
||||
FString mapname = parm->parms[0];
|
||||
|
||||
if (!fileSystem.Lookup(mapname, "MAP"))
|
||||
{
|
||||
|
|
|
@ -55,12 +55,11 @@ struct osdcmd_cheatsinfo osdcmd_cheatsinfo_stat = { -1, 0, 0 };
|
|||
|
||||
static int osdcmd_map(osdcmdptr_t parm)
|
||||
{
|
||||
FString mapname;
|
||||
|
||||
if (parm->numparms != 1)
|
||||
{
|
||||
return OSDCMD_SHOWHELP;
|
||||
}
|
||||
FString mapname = parm->parms[0];
|
||||
|
||||
if (!fileSystem.Lookup(mapname, "MAP"))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue