mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-06-07 19:32:09 +03:00
Fix protagonist not being set in CHL2_Player::Spawn()
This commit is contained in:
parent
bd43d3d7bd
commit
5dda250bb4
@ -1560,6 +1560,9 @@ void CHL2_Player::Spawn(void)
|
|||||||
|
|
||||||
if (m_iszProtagonistName == NULL_STRING && *g_szDefaultProtagonist)
|
if (m_iszProtagonistName == NULL_STRING && *g_szDefaultProtagonist)
|
||||||
m_iszProtagonistName = MAKE_STRING( g_szDefaultProtagonist );
|
m_iszProtagonistName = MAKE_STRING( g_szDefaultProtagonist );
|
||||||
|
|
||||||
|
if (m_iszProtagonistName != NULL_STRING)
|
||||||
|
SetProtagonist( STRING( m_iszProtagonistName ) );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user