mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-19 13:00:23 +02:00
Fixed compiler warnings by removing tiki.h inclusion from qcommon.h
This commit is contained in:
1 parent
c661925beb
commit
95a244fde0
33 files changed
+106
-135
No files matched your search
@@ -2319,7 +2319,7 @@ ScriptThread::~ScriptThread()
|
||||
ScriptVM* vm = m_ScriptVM;
|
||||
if( !vm )
|
||||
{
|
||||
ScriptError( "Attempting to delete a dead thread." );
|
||||
throw ScriptException( "Attempting to delete a dead thread." );
|
||||
}
|
||||
|
||||
m_ScriptVM = NULL;
|
||||
@@ -2436,7 +2436,7 @@ void ScriptThread::FileOpen
|
||||
}
|
||||
else
|
||||
{
|
||||
ev->AddInteger( (int)f );
|
||||
ev->AddInteger((int)(size_t)f);
|
||||
sprintf( buf, "%i", scriptfiles->integer + 1 );
|
||||
glbs.Cvar_Set( "sv_scriptfiles", buf );
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user