diff options
| author | Japa | 2011-02-23 00:34:18 +0000 |
|---|---|---|
| committer | Japa | 2011-02-23 00:34:18 +0000 |
| commit | f06e0e44cc5eb98c8606dcd061f04c857e18acc1 (patch) | |
| tree | 9eb24b8d64681b9fa1f77014cebe116fb3a40a01 /main.cpp | |
| parent | 46f22e51a61803d083363f5f52b3716abe30c8f9 (diff) | |
| download | stonesense-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.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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();
|
