Added Any constant in CBot
parent
79c5fabfe6
commit
5da4adad41
|
@ -3790,6 +3790,7 @@ void CScriptFunctions::Init()
|
||||||
if (token[0] != 0)
|
if (token[0] != 0)
|
||||||
CBotProgram::DefineNum(token, type);
|
CBotProgram::DefineNum(token, type);
|
||||||
}
|
}
|
||||||
|
CBotProgram::DefineNum("Any", OBJECT_NULL);
|
||||||
|
|
||||||
CBotProgram::DefineNum("White", 0);
|
CBotProgram::DefineNum("White", 0);
|
||||||
CBotProgram::DefineNum("Black", 1);
|
CBotProgram::DefineNum("Black", 1);
|
||||||
|
|
Loading…
Reference in New Issue