Skip to content

Commit

Permalink
fix: GameCountU16 (#618)
Browse files Browse the repository at this point in the history
* Fix: GameCountU16

item max count was limited to uint8, when you have uint16 on server.

* Update protocolgameparse.cpp

* Update item.h
  • Loading branch information
IcaroPimentel654 authored Nov 5, 2023
1 parent 543c23d commit 7da55d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/item.h
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class Item : public Thing
void internalDraw(int animationPhase, const Point& dest, const Color& color, bool drawThings, bool isMarked, LightView* lightView = nullptr);
void setConductor();

uint8_t m_countOrSubType{ 0 };
uint16_t m_countOrSubType{ 0 };

Color m_color{ Color::white };

Expand Down

0 comments on commit 7da55d9

Please sign in to comment.