diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-10-23 08:02:22 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-10-23 08:02:22 +0000 |
commit | 8eda6c18fd391e34f180aaece96140a374f274f9 (patch) | |
tree | 9598ebf5280790951b30befe9c84d4bba57198e4 /src/engine.cpp | |
parent | c9f618b5c50f759cf172d8e37063ef56e05812cf (diff) | |
download | mana-8eda6c18fd391e34f180aaece96140a374f274f9.tar.gz mana-8eda6c18fd391e34f180aaece96140a374f274f9.tar.bz2 mana-8eda6c18fd391e34f180aaece96140a374f274f9.tar.xz mana-8eda6c18fd391e34f180aaece96140a374f274f9.zip |
Merged changesets 3653, 3655-3657, 3659-3560, 3671-3672 from trunk to
0.0. Mostly memory leak fixes by Guillaume.
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index 4e37dc27..98b4a5f1 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -63,6 +63,11 @@ Engine::Engine(Network *network): { } +Engine::~Engine() +{ + delete mCurrentMap; +} + void Engine::changeMap(const std::string &mapPath) { // Clean up floor items |