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

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

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;