aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOvahlord <dreadkiller@gmx.de>2024-06-01 19:40:54 +0200
committerOvahlord <dreadkiller@gmx.de>2024-06-01 19:40:54 +0200
commite6f67b49207ad34242794ec9479cb1d999a58687 (patch)
treec0936c2b94197e22c84cc529c29bfc692f0be1c0 /src
parent57c36d758fabadd0385cde75b5b6abdcd8c493dd (diff)
Core/Items: added underlying type to ItemModType enum
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Entities/Item/ItemTemplate.h2
-rw-r--r--src/server/game/Entities/Player/Player.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Entities/Item/ItemTemplate.h b/src/server/game/Entities/Item/ItemTemplate.h
index bb37ab2ffff..4b59c348d48 100644
--- a/src/server/game/Entities/Item/ItemTemplate.h
+++ b/src/server/game/Entities/Item/ItemTemplate.h
@@ -25,7 +25,7 @@
#include <bitset>
#include <vector>
-enum ItemModType
+enum ItemModType : uint8
{
ITEM_MOD_MANA = 0,
ITEM_MOD_HEALTH = 1,
diff --git a/src/server/game/Entities/Player/Player.h b/src/server/game/Entities/Player/Player.h
index dc0f5219b5d..81f35dac82a 100644
--- a/src/server/game/Entities/Player/Player.h
+++ b/src/server/game/Entities/Player/Player.h
@@ -100,7 +100,7 @@ enum class InstanceResetMethod : uint8;
enum class InstanceResetResult : uint8;
enum InventoryType : uint8;
enum ItemClass : uint8;
-enum ItemModType;
+enum ItemModType : uint8;
enum LootError : uint8;
enum LootType : uint8;
enum class MovementStopReason : uint8;