From 0b616909e3472a4360e22d6b01749ee44092e967 Mon Sep 17 00:00:00 2001 From: faketruth Date: Sun, 19 Feb 2012 23:00:00 +0000 Subject: Using own ASSERT() that logs to file git-svn-id: http://mc-server.googlecode.com/svn/trunk@297 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/packets/cPacket_CreativeInventoryAction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/packets/cPacket_CreativeInventoryAction.cpp') diff --git a/source/packets/cPacket_CreativeInventoryAction.cpp b/source/packets/cPacket_CreativeInventoryAction.cpp index 14d544877..af500e503 100644 --- a/source/packets/cPacket_CreativeInventoryAction.cpp +++ b/source/packets/cPacket_CreativeInventoryAction.cpp @@ -48,7 +48,7 @@ int cPacket_CreativeInventoryAction::Parse(const char * a_Data, int a_Size) void cPacket_CreativeInventoryAction::Serialize(AString & a_Data) const { short ItemID = m_ItemID; - assert(ItemID >= -1); // Check validity of packets in debug runtime + ASSERT(ItemID >= -1); // Check validity of packets in debug runtime if (ItemID <= 0) { ItemID = -1; -- cgit v1.2.3