add owner check to position packets

This commit is contained in:
20dka
2022-11-04 23:39:11 +01:00
committed by Lion Kortlepel
parent 6ebfe5743c
commit 9acb6951d6
2 changed files with 15 additions and 11 deletions

View File

@@ -43,7 +43,7 @@ private:
static bool ShouldSpawn(TClient& c, const std::string& CarJson, int ID);
static bool IsUnicycle(TClient& c, const std::string& CarJson);
static void Apply(TClient& c, int VID, const std::string& pckt);
static void HandlePosition(TClient& c, const std::string& Packet);
static bool HandlePosition(TClient& c, const std::string& Packet);
};
struct BufferView {