diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-04-23 02:24:22 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-04-23 02:24:22 -0300 |
commit | 98cbcce89a815cd1a284cfde2e678cf43a7ec696 (patch) | |
tree | cd913a26cf03291caa509e05e4ce3d650271d393 /npc/maze0 | |
parent | 15a55210afdb296f24feced7efaeea682cb5da97 (diff) | |
download | serverdata-98cbcce89a815cd1a284cfde2e678cf43a7ec696.tar.gz serverdata-98cbcce89a815cd1a284cfde2e678cf43a7ec696.tar.bz2 serverdata-98cbcce89a815cd1a284cfde2e678cf43a7ec696.tar.xz serverdata-98cbcce89a815cd1a284cfde2e678cf43a7ec696.zip |
I've improved sanity checks
Diffstat (limited to 'npc/maze0')
-rw-r--r-- | npc/maze0/config.txt | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/npc/maze0/config.txt b/npc/maze0/config.txt index 8ff918f3f..d3f44cf9a 100644 --- a/npc/maze0/config.txt +++ b/npc/maze0/config.txt @@ -538,23 +538,6 @@ function script GenerateMaze { } - // Sanity Check - if ($@GM_OVERRIDE) { - for (.@y=0; .@y < MAZE_MY; .@y++) { - for (.@x=0; .@x < MAZE_MX; .@x++) { - .@mid=getd(MazeVar(.@x, .@y, "_ID")); - .@v$=MazeVar(.@x, .@y); - .@n$=getd(.@v$+"$["+MAZENORTH+"]"); - .@w$=getd(.@v$+"$["+MAZE_WEST+"]"); - .@e$=getd(.@v$+"$["+MAZE_EAST+"]"); - .@s$=getd(.@v$+"$["+MAZESOUTH+"]"); - debugmes "\t%s\t\t\t", .@n$; - debugmes "%s|%s|%s\t\t", .@w$, .@s$, .@e$; - } - debugmes "%s (%d)", .@v$, .@mid; - } - } - freeloop(false); debugmes "[STATUS] Finished"; return true; |