mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-23 01:00:25 +02:00
Game + Actor improvements p1.
This commit is contained in:
1 parent
e205761d48
commit
be0fa16fb1
58 files changed
+3229
-1449
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user