Updated text commentary nodes

This commit is contained in:
Blixibon
2021-07-17 03:58:09 -05:00
parent 20f29c5552
commit f67a1b95e5
2 changed files with 31 additions and 18 deletions

View File

@@ -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) );
}