mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-06-07 11:22:12 +03:00
Fix citizen SelectModel VScript hook having issues in save/restore
This commit is contained in:
parent
2d968370b9
commit
ec55c3011d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user