diff --git a/code/fgame/scriptthread.cpp b/code/fgame/scriptthread.cpp index b3abdec03..5de1693b4 100644 --- a/code/fgame/scriptthread.cpp +++ b/code/fgame/scriptthread.cpp @@ -2478,7 +2478,7 @@ void ScriptThread::Stop(void) } } -void ScriptThread::Wait(float time) +void ScriptThread::Wait(int time) { StartTiming(level.inttime + time); m_ScriptVM->Suspend(); diff --git a/code/fgame/scriptthread.h b/code/fgame/scriptthread.h index 1c39e70b2..afe1e3e2a 100644 --- a/code/fgame/scriptthread.h +++ b/code/fgame/scriptthread.h @@ -196,7 +196,7 @@ class ScriptThread : public Listener void Execute(Event *ev); void Execute(); void Execute(ScriptVariable *data, int dataSize); - void Wait(float time); + void Wait(int time); void Pause(void); void ScriptExecute(ScriptVariable *data, int dataSize, ScriptVariable& returnValue); void ScriptExecuteInternal(ScriptVariable *data = NULL, int dataSize = 0);