medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 69e54fe78f7f5fff7b0fb7c05236e79f58d8029c
parent d59c861359e2ffcdd4d5c23d235e4c8f3b9b7adb
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Wed Dec 28 00:28:58 +0200

Flag tiles as loading

Diffstat:
terrain_manager.cc | 2++
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/terrain_manager.cc b/terrain_manager.cc @@ -212,6 +212,8 @@ static void terrain_load_tile( TerrainManager * tm, s32 tx, s32 ty ) { AsyncLoadTile * alt = ( AsyncLoadTile * ) malloc( sizeof( AsyncLoadTile ) ); if( alt == NULL ) return; + tm->tile_states[ tx ][ ty ] = TILE_LOADING; + alt->tm = tm; alt->tx = tx; alt->ty = ty;