Convert SOLDIERTYPE->usChatPartnerID to SoldierID

This commit is contained in:
Asdow
2024-11-15 21:09:17 +02:00
parent 83b3485e58
commit ecb29ae9bc
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -21010,7 +21010,7 @@ void SOLDIERTYPE::StopChatting()
{
if ( this->usChatPartnerID != NOBODY )
{
ScreenMsg( FONT_MCOLOR_LTYELLOW, MSG_INTERFACE, TacticalStr[DISTRACT_STOP_STR], this->GetName(), MercPtrs[this->usChatPartnerID]->GetName() );
ScreenMsg( FONT_MCOLOR_LTYELLOW, MSG_INTERFACE, TacticalStr[DISTRACT_STOP_STR], this->GetName(), this->usChatPartnerID->GetName() );
MercPtrs[this->usChatPartnerID]->usChatPartnerID = NOBODY;
this->usChatPartnerID = NOBODY;