summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Chunk.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Chunk.h b/src/Chunk.h
index 855ddfc66..47eb4628d 100644
--- a/src/Chunk.h
+++ b/src/Chunk.h
@@ -586,7 +586,7 @@ private:
cBlockEntities m_BlockEntities;
/** Number of times the chunk has been requested to stay (by various cChunkStay objects); if zero, the chunk can be unloaded */
- int m_StayCount;
+ unsigned m_StayCount;
int m_PosX, m_PosZ;
cWorld * m_World;
@@ -616,8 +616,7 @@ private:
/** If greater than zero, the chunk is ticked even if it has no clients.
Manipulated by the SetAlwaysTicked() function, allows for nested calls of the function.
This is the support for plugin-accessible chunk tick forcing. */
- int m_AlwaysTicked;
-
+ unsigned m_AlwaysTicked;
// Pick up a random block of this chunk
void GetRandomBlockCoords(int & a_X, int & a_Y, int & a_Z);