diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-08-22 18:01:25 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-08-22 18:01:25 -0300 |
commit | a0eec150a202785a058304d505bf5dcabf503c23 (patch) | |
tree | 8d3cd685aeec9d9d0ae49947a9aa29b46e284dc8 /npc/014-5 | |
parent | acbfb6a6c32d81a192819f0e1c31ce185d5356f1 (diff) | |
download | serverdata-a0eec150a202785a058304d505bf5dcabf503c23.tar.gz serverdata-a0eec150a202785a058304d505bf5dcabf503c23.tar.bz2 serverdata-a0eec150a202785a058304d505bf5dcabf503c23.tar.xz serverdata-a0eec150a202785a058304d505bf5dcabf503c23.zip |
Well, this sort of stuff may happen - instance is valid but is not what we're looking for
Diffstat (limited to 'npc/014-5')
-rw-r--r-- | npc/014-5/sagratha.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/npc/014-5/sagratha.txt b/npc/014-5/sagratha.txt index a871ea7f5..2b13a8503 100644 --- a/npc/014-5/sagratha.txt +++ b/npc/014-5/sagratha.txt @@ -37,6 +37,13 @@ function script SaggyInstCheck { setq2 HurnscaldQuest_Sagratha, .@inst; } + // It broke + if (getmapinfo(MAPINFO_SIZE_X, .@mapn$) <= 0) { + setq2 HurnscaldQuest_Sagratha, 0; + // Infinite Loop? + return SaggyInstCheck(.@house); + } + if (.@house) { return .@mapn$; } else { |