summaryrefslogtreecommitdiff
path: root/src/enums
diff options
context:
space:
mode:
Diffstat (limited to 'src/enums')
-rw-r--r--src/enums/inventorytype.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/enums/inventorytype.h b/src/enums/inventorytype.h
index fe24864d3..cd4ff4732 100644
--- a/src/enums/inventorytype.h
+++ b/src/enums/inventorytype.h
@@ -23,21 +23,21 @@
#ifndef ENUMS_INVENTORYTYPE_H
#define ENUMS_INVENTORYTYPE_H
-namespace InventoryType
+#include "enums/simpletypes/enumdefines.h"
+
+enumStart(InventoryType)
{
- enum Type
- {
- INVENTORY = 0,
- STORAGE,
- TRADE,
- NPC,
+ Inventory = 0,
+ Storage,
+ Trade,
+ Npc,
#ifdef EATHENA_SUPPORT
- CART,
- VENDING,
- MAIL,
+ Cart,
+ Vending,
+ Mail,
#endif
- TYPE_END
- };
-} // namespace InventoryType
+ TypeEnd
+}
+enumEnd(InventoryType);
#endif // ENUMS_INVENTORYTYPE_H