summaryrefslogtreecommitdiff
path: root/tools/tmxcopy/map.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2008-08-10 15:54:48 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2008-08-10 15:54:48 +0000
commit8493ae0b217435977d917976c5c1b959953b895c (patch)
treed061ad9875a78b2f420f0c0fce09abeb5c48c41c /tools/tmxcopy/map.cpp
parent1df0f995cbcafa24a9312c25aa7c24fe910ed54c (diff)
downloadmana-client-8493ae0b217435977d917976c5c1b959953b895c.tar.gz
mana-client-8493ae0b217435977d917976c5c1b959953b895c.tar.bz2
mana-client-8493ae0b217435977d917976c5c1b959953b895c.tar.xz
mana-client-8493ae0b217435977d917976c5c1b959953b895c.zip
fixed some compilation problems reported by Jaxad, updated project file to new code::blocks format.
Diffstat (limited to 'tools/tmxcopy/map.cpp')
-rw-r--r--tools/tmxcopy/map.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/tmxcopy/map.cpp b/tools/tmxcopy/map.cpp
index e0212e37..b554aac2 100644
--- a/tools/tmxcopy/map.cpp
+++ b/tools/tmxcopy/map.cpp
@@ -18,6 +18,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include <cstring>
#include <iostream>
#include <map>
#include <list>
@@ -250,6 +251,7 @@ bool Map::overwrite( Map* srcMap,
}
std::clog<<"copying successful!"<<std::endl;
+ return true;
}
int Map::save(std::string filename)