Skip to content

Commit

Permalink
Fixed map init command execution
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Jul 2, 2003
1 parent 77025f7 commit c28b2e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/Src/r_world.c
Expand Up @@ -1025,7 +1025,7 @@ void R_SetupLevel(char *level_id, int flags)
{
char cmd[80];
sprintf(cmd, "init-%s", level_id);
if(Con_GetCommand(cmd))
if(Con_IsValidCommand(cmd))
{
Con_Executef(false, cmd);
}
Expand Down

0 comments on commit c28b2e2

Please sign in to comment.