Fixed compiler warnings by removing tiki.h inclusion from qcommon.h

This commit is contained in:
L committed 2023-01-30 00:23:47 +01:00
1 parent c661925beb
commit 95a244fde0
33 files changed
+106 -135

No files matched your search

+2 -2
View File
@@ -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;