mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-09-23 20:09:45 +03:00
Updated text commentary nodes
This commit is contained in:
@@ -905,6 +905,11 @@ void CPointCommentaryNode::Spawn( void )
|
||||
char *szModel = (char *)STRING( GetModelName() );
|
||||
if (!szModel || !*szModel)
|
||||
{
|
||||
#ifdef MAPBASE
|
||||
if (m_bTextCommentary)
|
||||
szModel = "models/extras/info_text.mdl";
|
||||
else
|
||||
#endif
|
||||
szModel = "models/extras/info_speech.mdl";
|
||||
SetModelName( AllocPooledString(szModel) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user