summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-19 20:31:38 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-19 20:31:38 +0100
commitdf39f12e3016df7403aed95f6eabefbbba5c4b0c (patch)
tree5a6d2717457ca7416c246fa6342e2d9fe5ac586e
parentSubstantial cWorld::FastSetBlock() speed up by queueing all such calls and processing them later chunk-wise (makes growing trees in the generator fast again) (diff)
downloadcuberite-df39f12e3016df7403aed95f6eabefbbba5c4b0c.tar
cuberite-df39f12e3016df7403aed95f6eabefbbba5c4b0c.tar.gz
cuberite-df39f12e3016df7403aed95f6eabefbbba5c4b0c.tar.bz2
cuberite-df39f12e3016df7403aed95f6eabefbbba5c4b0c.tar.lz
cuberite-df39f12e3016df7403aed95f6eabefbbba5c4b0c.tar.xz
cuberite-df39f12e3016df7403aed95f6eabefbbba5c4b0c.tar.zst
cuberite-df39f12e3016df7403aed95f6eabefbbba5c4b0c.zip
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;