diff options
| author | Kris Parker | 2009-12-12 15:24:01 +0000 |
|---|---|---|
| committer | Kris Parker | 2009-12-12 15:24:01 +0000 |
| commit | ca61395a22bf8b717797aaf63f6ecaf97c6faf2a (patch) | |
| tree | dd8145c346a07bf3c7bf6a4f7df534fbbad54b72 /WorldSegment.cpp | |
| parent | 830dd362b8445f9d15d191f6cc9aa5267b86500c (diff) | |
| download | stonesense-ca61395a22bf8b717797aaf63f6ecaf97c6faf2a.tar.gz stonesense-ca61395a22bf8b717797aaf63f6ecaf97c6faf2a.tar.bz2 stonesense-ca61395a22bf8b717797aaf63f6ecaf97c6faf2a.tar.xz | |
Trunking the RampBLUT
Diffstat (limited to 'WorldSegment.cpp')
| -rw-r--r-- | WorldSegment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WorldSegment.cpp b/WorldSegment.cpp index b071518..cb8a629 100644 --- a/WorldSegment.cpp +++ b/WorldSegment.cpp @@ -147,7 +147,7 @@ void WorldSegment::drawAllBlocks(BITMAP* target){ // x,y,z print pricess
int32_t vsxmax = viewedSegment->sizex-1;
int32_t vsymax = viewedSegment->sizey-1;
- int32_t vszmax = viewedSegment->sizez;
+ int32_t vszmax = viewedSegment->sizez-1; // grabbing one tile +z more than we should for tile rules
for(int32_t vsz=0; vsz < vszmax; vsz++){
for(int32_t vsx=1; vsx < vsxmax; vsx++){
for(int32_t vsy=1; vsy < vsymax; vsy++){
|
