From b9124b049a47323cafa8807db4d501fb32a53297 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Sun, 12 Oct 2025 17:38:12 -0300 Subject: fix problem with outfit comparisons - fixes #39 --- src/sending.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sending.cc') diff --git a/src/sending.cc b/src/sending.cc index 5a5a969..eb78e82 100644 --- a/src/sending.cc +++ b/src/sending.cc @@ -162,7 +162,7 @@ static void SendString(TConnection *Connection, const char *String){ static void SendOutfit(TConnection *Connection, TOutfit Outfit){ SendWord(Connection, (uint16)Outfit.OutfitID); if(Outfit.OutfitID == 0){ - SendWord(Connection, Outfit.ObjectType); + SendWord(Connection, (uint16)Outfit.ObjectType); }else{ SendBytes(Connection, Outfit.Colors, sizeof(Outfit.Colors)); } @@ -1166,7 +1166,7 @@ void SendPlayerData(TConnection *Connection){ return; } - // TODO(fusion): I don't even think skills can even be NULL. + // TODO(fusion): I don't think skills can even be NULL. int Level = 0; int LevelPercent = 0; int Experience = 0; -- cgit v1.2.3