From 5fa68ea807393c8b05f234dd2397d3e1f3f10f7d Mon Sep 17 00:00:00 2001 From: x12xx12x <44411062+12xx12@users.noreply.github.com> Date: Wed, 22 Dec 2021 14:36:45 +0100 Subject: fixed cast --- src/Entities/Pickup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Entities/Pickup.cpp') diff --git a/src/Entities/Pickup.cpp b/src/Entities/Pickup.cpp index f37bb6b98..d266df502 100644 --- a/src/Entities/Pickup.cpp +++ b/src/Entities/Pickup.cpp @@ -56,7 +56,7 @@ public: return false; } - m_Pickup->GetItem().AddCount(CombineCount); + m_Pickup->GetItem().AddCount(static_cast(CombineCount)); Item.m_ItemCount -= CombineCount; if (Item.m_ItemCount <= 0) -- cgit v1.2.3