medfall

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

commit 65f715c3dafd919c64185a9a49711b9424c19b37
parent a8826f8c8ffc69c2f99fc6ae14f991559bfcbf57
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Thu Aug 13 20:58:35 +0200

Actually initialise dir in terrain_manager.............

Diffstat:
terrain_manager.cc | 2++
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/terrain_manager.cc b/terrain_manager.cc @@ -25,6 +25,8 @@ TerrainManager::TerrainManager( const std::string & dir ) { } void TerrainManager::use( const std::string & dir ) { + this->dir = dir; + FILE * dims = fopen( ( dir + "/dims.txt" ).c_str(), "r" ); fscanf( dims, "%d %d", &w, &h ); fclose( dims );