summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-23 02:24:22 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-23 02:24:22 -0300
commit98cbcce89a815cd1a284cfde2e678cf43a7ec696 (patch)
treecd913a26cf03291caa509e05e4ce3d650271d393
parent15a55210afdb296f24feced7efaeea682cb5da97 (diff)
downloadserverdata-98cbcce89a815cd1a284cfde2e678cf43a7ec696.tar.gz
serverdata-98cbcce89a815cd1a284cfde2e678cf43a7ec696.tar.bz2
serverdata-98cbcce89a815cd1a284cfde2e678cf43a7ec696.tar.xz
serverdata-98cbcce89a815cd1a284cfde2e678cf43a7ec696.zip
I've improved sanity checks
-rw-r--r--npc/maze0/config.txt17
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;