Game + Actor improvements p1.

This commit is contained in:
mohabhassan committed 2018-09-17 23:50:38 +02:00
1 parent e205761d48
commit be0fa16fb1
58 files changed
+3229 -1449

No files matched your search

+14 -1
View File
@@ -436,9 +436,22 @@ void SimpleEntity::GetUpVector( Event *ev )
ev->AddVector( up );
}
void SimpleEntity::MPrintf( const char *msg, ... )
void SimpleEntity::MPrintf( const char *fmt, ... )
{
va_list argptr;
char msg[MAXPRINTMSG];
if (*g_monitor->string == NULL)
{
return;
}
if (targetname == g_monitor->string)
{
va_start(argptr, fmt);
Q_vsnprintf(msg, sizeof(msg), fmt, argptr);
va_end(argptr);
Com_Printf("%s", msg);
}
}
int SimpleEntity::IsSubclassOfEntity( void ) const