summaryrefslogtreecommitdiffstats
path: root/source/Protocol125.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Protocol125.cpp')
-rw-r--r--source/Protocol125.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Protocol125.cpp b/source/Protocol125.cpp
index 1927013da..da7e880ad 100644
--- a/source/Protocol125.cpp
+++ b/source/Protocol125.cpp
@@ -1310,7 +1310,7 @@ int cProtocol125::ParseItem(cItem & a_Item)
HANDLE_PACKET_READ(ReadBEShort, short, EnchantNumBytes);
- if (EnchantNumBytes == 0)
+ if (EnchantNumBytes <= 0)
{
return PARSE_OK;
}