From ea8545dff189312ad1300fddb2f2ead7d5cf1c59 Mon Sep 17 00:00:00 2001 From: "luksor111@gmail.com" Date: Thu, 15 Nov 2012 18:57:47 +0000 Subject: - Added the "wait" music disc - Vines can now be placed on leaves git-svn-id: http://mc-server.googlecode.com/svn/trunk@1045 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Items/ItemHandler.cpp | 4 ++-- source/Items/ItemHandler.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source/Items') 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 }; -- cgit v1.2.3