summaryrefslogtreecommitdiffstats
path: root/src/Chunk.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-03-21 15:18:17 +0100
committerMattes D <github@xoft.cz>2015-03-21 15:18:17 +0100
commitcc069ccb2a03db87e9de45ee84df9e2bd0b50545 (patch)
treee25723d95c7724505f7756a0dbbb0d48f68c7ddf /src/Chunk.cpp
parentUnified cByteBuffer types. (diff)
downloadcuberite-cc069ccb2a03db87e9de45ee84df9e2bd0b50545.tar
cuberite-cc069ccb2a03db87e9de45ee84df9e2bd0b50545.tar.gz
cuberite-cc069ccb2a03db87e9de45ee84df9e2bd0b50545.tar.bz2
cuberite-cc069ccb2a03db87e9de45ee84df9e2bd0b50545.tar.lz
cuberite-cc069ccb2a03db87e9de45ee84df9e2bd0b50545.tar.xz
cuberite-cc069ccb2a03db87e9de45ee84df9e2bd0b50545.tar.zst
cuberite-cc069ccb2a03db87e9de45ee84df9e2bd0b50545.zip
Diffstat (limited to 'src/Chunk.cpp')
-rw-r--r--src/Chunk.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp
index 00ac1fdb1..b23b28d7b 100644
--- a/src/Chunk.cpp
+++ b/src/Chunk.cpp
@@ -1969,7 +1969,7 @@ void cChunk::RemoveEntity(cEntity * a_Entity)
-bool cChunk::HasEntity(int a_EntityID)
+bool cChunk::HasEntity(UInt32 a_EntityID)
{
for (cEntityList::const_iterator itr = m_Entities.begin(), end = m_Entities.end(); itr != end; ++itr)
{
@@ -2027,7 +2027,7 @@ bool cChunk::ForEachEntityInBox(const cBoundingBox & a_Box, cEntityCallback & a_
-bool cChunk::DoWithEntityByID(int a_EntityID, cEntityCallback & a_Callback, bool & a_CallbackResult)
+bool cChunk::DoWithEntityByID(UInt32 a_EntityID, cEntityCallback & a_Callback, bool & a_CallbackResult)
{
// The entity list is locked by the parent chunkmap's CS
for (cEntityList::iterator itr = m_Entities.begin(), end = m_Entities.end(); itr != end; ++itr)