mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-12 08:00:55 +02:00
Fixed a crash in release were PlayerPtr->ActLike references HOUSE_MULTI%N% houses and crashes.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user