# HG changeset patch # User yoctozepto # Date 1378236219 -7200 # Node ID f3cd08b8947697571a94a632b7a78563629a21ab # Parent 46f6fc6f72fd7b647ff85c981c0e425ceab02cd3 Fix assertion error when exiting Harmondale's castle. Possibly original bug. diff -r 46f6fc6f72fd -r f3cd08b89476 mm7_3.cpp --- 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;