diff options
author | luksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-11-15 19:57:47 +0100 |
---|---|---|
committer | luksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-11-15 19:57:47 +0100 |
commit | ea8545dff189312ad1300fddb2f2ead7d5cf1c59 (patch) | |
tree | 2cfa106c110808bce3e927521dc9e67c87c32ba3 /source/Items | |
parent | More valgrind fixes (diff) | |
download | cuberite-ea8545dff189312ad1300fddb2f2ead7d5cf1c59.tar cuberite-ea8545dff189312ad1300fddb2f2ead7d5cf1c59.tar.gz cuberite-ea8545dff189312ad1300fddb2f2ead7d5cf1c59.tar.bz2 cuberite-ea8545dff189312ad1300fddb2f2ead7d5cf1c59.tar.lz cuberite-ea8545dff189312ad1300fddb2f2ead7d5cf1c59.tar.xz cuberite-ea8545dff189312ad1300fddb2f2ead7d5cf1c59.tar.zst cuberite-ea8545dff189312ad1300fddb2f2ead7d5cf1c59.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Items/ItemHandler.cpp | 4 | ||||
-rw-r--r-- | source/Items/ItemHandler.h | 2 |
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
};
|