Fixed a crash in release were PlayerPtr->ActLike references HOUSE_MULTI%N% houses and crashes.

This commit is contained in:
Justin Marshall
2020-07-28 20:11:58 -07:00
parent aa6d4f18d7
commit 0c9d026780
+1 -1
View File
@@ -425,7 +425,7 @@ void RadarClass::Draw_It(bool forced)
} else {
RadarPulse = MFCD::Retrieve(name);
}
RadarFrame = MFCD::Retrieve(_frames[PlayerPtr->ActLike]);
RadarFrame = MFCD::Retrieve(_frames[PlayerPtr->ActLike % HOUSE_BAD]);
#endif
_house = PlayerPtr->ActLike;
}