mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-31 02:14:09 +03:00
Add option to allow custom levels when the editor is disabled
This commit is contained in:
@@ -92,7 +92,7 @@ void scriptclass::run( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map,
|
||||
obj.entities[player].yp += ss_toi(words[2]);
|
||||
scriptdelay = 1;
|
||||
}
|
||||
#if !defined(NO_EDITOR)
|
||||
#if !defined(NO_CUSTOM_LEVELS)
|
||||
if (words[0] == "warpdir")
|
||||
{
|
||||
int temprx=ss_toi(words[1])-1;
|
||||
@@ -3158,7 +3158,7 @@ void scriptclass::startgamemode( int t, KeyPoll& key, Graphics& dwgfx, Game& gam
|
||||
|
||||
load("intermission_2");
|
||||
break;
|
||||
#if !defined(NO_EDITOR)
|
||||
#if !defined(NO_CUSTOM_LEVELS)
|
||||
case 20:
|
||||
//Level editor
|
||||
hardreset(key, dwgfx, game, map, obj, help, music);
|
||||
|
||||
Reference in New Issue
Block a user