[Script] Fix compilation
This commit is contained in:
parent
5c69267ba3
commit
c3dd5015e1
@ -401,7 +401,7 @@ namespace Components
|
|||||||
|
|
||||||
const char* Script::GetCodePosForParam(int index)
|
const char* Script::GetCodePosForParam(int index)
|
||||||
{
|
{
|
||||||
if (index >= Game::scrVmPub->outparamcount)
|
if (static_cast<unsigned int>(index) >= Game::scrVmPub->outparamcount)
|
||||||
{
|
{
|
||||||
Game::Scr_Error("^1GetCodePosForParam: Index is out of range!\n");
|
Game::Scr_Error("^1GetCodePosForParam: Index is out of range!\n");
|
||||||
return "";
|
return "";
|
||||||
|
Loading…
Reference in New Issue
Block a user