summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorJapa2011-02-23 00:34:18 +0000
committerJapa2011-02-23 00:34:18 +0000
commitf06e0e44cc5eb98c8606dcd061f04c857e18acc1 (patch)
tree9eb24b8d64681b9fa1f77014cebe116fb3a40a01 /main.cpp
parent46f22e51a61803d083363f5f52b3716abe30c8f9 (diff)
downloadstonesense-f06e0e44cc5eb98c8606dcd061f04c857e18acc1.tar.gz
stonesense-f06e0e44cc5eb98c8606dcd061f04c857e18acc1.tar.bz2
stonesense-f06e0e44cc5eb98c8606dcd061f04c857e18acc1.tar.xz
Fixed the local coordinates. now the map doesn't shift when you change the section height.
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 0e3502f..6af8f07 100644
--- a/main.cpp
+++ b/main.cpp
@@ -139,7 +139,7 @@ void SetTitle(const char *format, ...)
void correctBlockForSegmetOffset(int32_t& x, int32_t& y, int32_t& z){
x -= DisplayedSegmentX;
y -= DisplayedSegmentY; //DisplayedSegmentY;
- z -= DisplayedSegmentZ + viewedSegment->sizez - 2; // loading one above the top of the displayed segment for block rules
+ z -= DisplayedSegmentZ - 1; // + viewedSegment->sizez - 2; // loading one above the top of the displayed segment for block rules
}
void loadfont()
@@ -276,6 +276,7 @@ int main(void)
config.bloodcutoff = 100;
config.poolcutoff = 100;
config.threadmade = 0;
+ config.threading_enable = 1;
initRandomCube();
loadConfigFile();
loadfont();