diff options
| author | Japa | 2010-12-14 14:13:43 +0000 |
|---|---|---|
| committer | Japa | 2010-12-14 14:13:43 +0000 |
| commit | a70e0aabbf9a1c4463591ab0614f25d41477046e (patch) | |
| tree | d74f2f45eecfb13d4384699f910b223fee03628c /WorldSegment.cpp | |
| parent | f289538a4f71e65f4e94503631d0c0852daad518 (diff) | |
| download | stonesense-a70e0aabbf9a1c4463591ab0614f25d41477046e.tar.gz stonesense-a70e0aabbf9a1c4463591ab0614f25d41477046e.tar.bz2 stonesense-a70e0aabbf9a1c4463591ab0614f25d41477046e.tar.xz | |
more stuff to the tilebuilder branch. I'm about to start ripping it a new one now that it works okay.
Diffstat (limited to 'WorldSegment.cpp')
| -rw-r--r-- | WorldSegment.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/WorldSegment.cpp b/WorldSegment.cpp index 213649c..00d07b1 100644 --- a/WorldSegment.cpp +++ b/WorldSegment.cpp @@ -151,6 +151,7 @@ void WorldSegment::drawAllBlocks(){ if(!loaded)
return;
+ al_lock_mutex(mute);
// x,y,z print pricess
ALLEGRO_BITMAP * temp = al_get_target_bitmap();
int32_t vsxmax = viewedSegment->sizex-1;
@@ -230,6 +231,7 @@ void WorldSegment::drawAllBlocks(){ }
if(config.showRenderStatus)
SetTitle("Stonesense");
+ al_unlock_mutex(mute);
}
/*
|
