[Server] Fix small typos in script functions

This commit is contained in:
David Cernat 2020-05-26 01:10:22 +02:00
parent 76538ab3cd
commit 3e95034b57
2 changed files with 3 additions and 3 deletions

View File

@ -102,8 +102,8 @@
{"SetObjectState", ObjectFunctions::SetObjectState},\ {"SetObjectState", ObjectFunctions::SetObjectState},\
{"SetObjectLockLevel", ObjectFunctions::SetObjectLockLevel},\ {"SetObjectLockLevel", ObjectFunctions::SetObjectLockLevel},\
{"SetObjectGoldPool", ObjectFunctions::SetObjectGoldPool},\ {"SetObjectGoldPool", ObjectFunctions::SetObjectGoldPool},\
{"SetObjectLastGoldRestockHour", ObjectFunctions::SetObjectLastGoldRestockHour},\ {"SetObjectLastGoldRestockHour", ObjectFunctions::SetObjectLastGoldRestockHour},\
{"SetObjectLastGoldRestockDay", ObjectFunctions::SetObjectLastGoldRestockDay},\ {"SetObjectLastGoldRestockDay", ObjectFunctions::SetObjectLastGoldRestockDay},\
{"SetObjectDisarmState", ObjectFunctions::SetObjectDisarmState},\ {"SetObjectDisarmState", ObjectFunctions::SetObjectDisarmState},\
{"SetObjectDroppedByPlayerState", ObjectFunctions::SetObjectDroppedByPlayerState},\ {"SetObjectDroppedByPlayerState", ObjectFunctions::SetObjectDroppedByPlayerState},\
{"SetObjectPosition", ObjectFunctions::SetObjectPosition},\ {"SetObjectPosition", ObjectFunctions::SetObjectPosition},\

View File

@ -241,7 +241,7 @@ public:
* client globals. * client globals.
* *
* \param index The index of the client global. * \param index The index of the client global.
* \return The variable type (0 for INTEGER, 1 for FLOAT). * \return The variable type (0 for INTEGER, 1 for LONG, 2 for FLOAT).
*/ */
static unsigned short GetClientGlobalVariableType(unsigned int index) noexcept; static unsigned short GetClientGlobalVariableType(unsigned int index) noexcept;