From 9951bf6c1c2e3966f92f1545b60a9e23a1f32565 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 8 Mar 2010 17:45:40 +0200 Subject: Fix properties bug. Fix Random crushes and valgrind memory errors. Reviewed-by: thorbjorn --- src/map.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map.h') diff --git a/src/map.h b/src/map.h index 9d5fe021..7b91b6bb 100644 --- a/src/map.h +++ b/src/map.h @@ -263,8 +263,8 @@ class Map : public Properties int getTileHeight() const { return mTileHeight; } - const std::string &getMusicFile() const; - const std::string &getName() const; + const std::string getMusicFile() const; + const std::string getName() const; /** * Gives the map id based on filepath (ex: 009-1) -- cgit v1.2.3-70-g09d2