Fix citizen SelectModel VScript hook having issues in save/restore

This commit is contained in:
ALLEN-PC\acj30 2025-01-08 09:31:56 -06:00 committed by Blixibon
parent 2d968370b9
commit ec55c3011d

View File

@ -839,6 +839,9 @@ void CNPC_Citizen::SelectModel()
}
}
// Models selected this way must be unique to avoid conflicts in save/restore
m_Type = CT_UNIQUE;
// Just set the model right here
SetModelName( AllocPooledString( returnValue.m_pszString ) );
return;