summaryrefslogtreecommitdiffstats
path: root/source/Items
diff options
context:
space:
mode:
Diffstat (limited to 'source/Items')
-rw-r--r--source/Items/ItemHandler.cpp4
-rw-r--r--source/Items/ItemHandler.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/source/Items/ItemHandler.cpp b/source/Items/ItemHandler.cpp
index f23a13120..c4e6537e2 100644
--- a/source/Items/ItemHandler.cpp
+++ b/source/Items/ItemHandler.cpp
@@ -36,7 +36,7 @@
bool cItemHandler::m_HandlerInitialized = false;
-cItemHandler * cItemHandler::m_ItemHandler[2266];
+cItemHandler * cItemHandler::m_ItemHandler[2268];
@@ -177,7 +177,7 @@ cItemHandler *cItemHandler::CreateItemHandler(int a_ItemType)
void cItemHandler::Deinit()
{
- for(int i = 0; i < 2266; i++)
+ for(int i = 0; i < 2267; i++)
{
delete m_ItemHandler[i];
}
diff --git a/source/Items/ItemHandler.h b/source/Items/ItemHandler.h
index dfd5739af..da32ed19e 100644
--- a/source/Items/ItemHandler.h
+++ b/source/Items/ItemHandler.h
@@ -75,7 +75,7 @@ protected:
int m_ItemType;
static cItemHandler *CreateItemHandler(int m_ItemType);
- static cItemHandler *m_ItemHandler[2266];
+ static cItemHandler *m_ItemHandler[2268];
static bool m_HandlerInitialized; //used to detect if the itemhandlers are initialized
};