mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-29 06:07:57 +03:00
Fixed compiler warnings by removing tiki.h inclusion from qcommon.h
This commit is contained in:
parent
c661925beb
commit
95a244fde0
33 changed files with 106 additions and 135 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue