diff options
Diffstat (limited to 'npc')
-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 { |