Add option to allow custom levels when the editor is disabled

This commit is contained in:
Matt Penny
2020-02-09 21:21:19 -05:00
committed by Ethan Lee
parent 7d35c5ce4e
commit 1b00d12600
10 changed files with 59 additions and 27 deletions

View File

@@ -1,4 +1,4 @@
#if !defined(NO_EDITOR)
#if !defined(NO_CUSTOM_LEVELS)
#include "editor.h"
@@ -5386,4 +5386,4 @@ void editorinput( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map, enti
}
}
#endif /* NO_EDITOR */
#endif /* NO_CUSTOM_LEVELS */