From d879999aeb6906daa87125ed975344bfadd6a120 Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Sat, 4 Sep 2021 19:09:15 +0300 Subject: [PATCH] Update Official.cpp --- module/Misc/Official.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/Misc/Official.cpp b/module/Misc/Official.cpp index 697172a7..cbaf832f 100644 --- a/module/Misc/Official.cpp +++ b/module/Misc/Official.cpp @@ -1380,7 +1380,7 @@ static bool LgUsingClasses() { return _Func->GetServerOption(vcmpServerOptionUseClasses) >= 1; } static void LgAddClass(int team, const Color3 & col, int skin, const Vector3 & pos, float angle, int wep1, int ammo1, int wep2, int ammo2, int wep3, int ammo3) -{ _Func->AddPlayerClass(team, col.GetRGBA(), skin, pos.x, pos.y, pos.z, angle, wep1, ammo1, wep2, ammo2, wep3, ammo3); } +{ _Func->AddPlayerClass(team, col.GetRGB(), skin, pos.x, pos.y, pos.z, angle, wep1, ammo1, wep2, ammo2, wep3, ammo3); } // ------------------------------------------------------------------------------------------------ static void LgSetSpawnPlayerPos(const Vector3 & pos) { _Func->SetSpawnPlayerPosition(pos.x, pos.y, pos.z); } static void LgSetSpawnCameraPos(const Vector3 & pos) { _Func->SetSpawnCameraPosition(pos.x, pos.y, pos.z); }