summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/packets/cPacket_NamedEntitySpawn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/packets/cPacket_NamedEntitySpawn.cpp b/source/packets/cPacket_NamedEntitySpawn.cpp
index 9a8fcfd14..19d12e4bd 100644
--- a/source/packets/cPacket_NamedEntitySpawn.cpp
+++ b/source/packets/cPacket_NamedEntitySpawn.cpp
@@ -10,7 +10,7 @@
void cPacket_NamedEntitySpawn::Serialize(AString & a_Data) const
{
short CurrentItem = m_CurrentItem;
- assert(CurrentItem > 0);
+ assert(CurrentItem >= 0);
if (CurrentItem <= 0)
{
CurrentItem = 0;