summaryrefslogtreecommitdiff
path: root/WorldSegment.h
diff options
context:
space:
mode:
authorJonas Ask2009-11-20 16:30:03 +0000
committerJonas Ask2009-11-20 16:30:03 +0000
commitc606858a2e226e91919c7f084e7f40300a1ccb56 (patch)
treef32c55fa3596bc99924ddf06833cfa82a3922d27 /WorldSegment.h
parent1c737281d6bf440198c19b4d8facd76375e4c05d (diff)
downloadstonesense-c606858a2e226e91919c7f084e7f40300a1ccb56.tar.gz
stonesense-c606858a2e226e91919c7f084e7f40300a1ccb56.tar.bz2
stonesense-c606858a2e226e91919c7f084e7f40300a1ccb56.tar.xz
Improved how the view clips to the world boundaries.
Diffstat (limited to 'WorldSegment.h')
-rw-r--r--WorldSegment.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/WorldSegment.h b/WorldSegment.h
index fa43f9a..06a744a 100644
--- a/WorldSegment.h
+++ b/WorldSegment.h
@@ -41,7 +41,7 @@ public:
return (uint32_t)blocks.size();
}
- Block* getBlock(uint32_t x, uint32_t y, uint32_t z);
+ Block* getBlock(int32_t x, int32_t y, int32_t z);
Block* getBlockLocal(uint32_t x, uint32_t y, uint32_t z);
Block* getBlockRelativeTo(uint32_t x, uint32_t y, uint32_t z, dirRelative direction);
Block* getBlock(uint32_t index);