changeset 1516:f3cd08b89476

Fix assertion error when exiting Harmondale's castle. Possibly original bug.
author yoctozepto
date Tue, 03 Sep 2013 21:23:39 +0200
parents 46f6fc6f72fd
children c3da3c2985b8
files mm7_3.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mm7_3.cpp	Tue Sep 03 15:29:09 2013 +0200
+++ b/mm7_3.cpp	Tue Sep 03 21:23:39 2013 +0200
@@ -7565,7 +7565,7 @@
         pParty->vPosition.z = _5B65B0_npcdata_rep_or_other;
         pParty->uFallStartY = _5B65B0_npcdata_rep_or_other;
       }
-      if ( _5B65B4_npcdata_loword_house_or_other )
+      if ( _5B65B4_npcdata_loword_house_or_other != -1 )
         pParty->sRotationY = _5B65B4_npcdata_loword_house_or_other;
       if ( _5B65B8_npcdata_hiword_house_or_other )
         pParty->sRotationX = _5B65B8_npcdata_hiword_house_or_other;