diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2025-10-12 17:38:12 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2025-10-12 17:38:12 -0300 |
| commit | b9124b049a47323cafa8807db4d501fb32a53297 (patch) | |
| tree | 0eb2778a68c5511a06632146c457ec7fee07f161 /src/sending.cc | |
| parent | 60531bf63e9d93535e6d7ea5201a708392e738f6 (diff) | |
| download | game-b9124b049a47323cafa8807db4d501fb32a53297.tar.gz game-b9124b049a47323cafa8807db4d501fb32a53297.zip | |
fix problem with outfit comparisons - fixes #39
Diffstat (limited to 'src/sending.cc')
| -rw-r--r-- | src/sending.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
