summaryrefslogtreecommitdiff
path: root/tools/tmxcopy/map.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2008-08-10 15:54:48 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-12-13 20:31:21 +0100
commit77c6d99b840e340cc62c48144b5f265260ac92d6 (patch)
treec9bfebcfcdc8d78a93c99c015c9be2b9da15c9c8 /tools/tmxcopy/map.cpp
parent3c2af21bf059e8d90b4dd5687061f882ab883a78 (diff)
downloadmana-client-77c6d99b840e340cc62c48144b5f265260ac92d6.tar.gz
mana-client-77c6d99b840e340cc62c48144b5f265260ac92d6.tar.bz2
mana-client-77c6d99b840e340cc62c48144b5f265260ac92d6.tar.xz
mana-client-77c6d99b840e340cc62c48144b5f265260ac92d6.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 c60409c6..82fe0f8f 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>
@@ -251,6 +252,7 @@ bool Map::overwrite( Map* srcMap,
}
std::clog<<"copying successful!"<<std::endl;
+ return true;
}
int Map::save(std::string filename)