diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-07-28 23:31:00 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-07-28 23:31:00 +0000 |
commit | fd2cecb5c45cd6f69b193c97b7c78121f6b5b30f (patch) | |
tree | 0e6bad9d810da54c0fcde8fd1afe46bd85babd2b /src/game-server/mapreader.cpp | |
parent | e166458f5425316f4f48aadd7007917ab876be17 (diff) | |
download | manaserv-fd2cecb5c45cd6f69b193c97b7c78121f6b5b30f.tar.gz manaserv-fd2cecb5c45cd6f69b193c97b7c78121f6b5b30f.tar.bz2 manaserv-fd2cecb5c45cd6f69b193c97b7c78121f6b5b30f.tar.xz manaserv-fd2cecb5c45cd6f69b193c97b7c78121f6b5b30f.zip |
Revert to the old pathfinding system without collision with beings, as the new one is too cpu intensive.
Diffstat (limited to 'src/game-server/mapreader.cpp')
-rw-r--r-- | src/game-server/mapreader.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game-server/mapreader.cpp b/src/game-server/mapreader.cpp index f7f98811..88b9eec1 100644 --- a/src/game-server/mapreader.cpp +++ b/src/game-server/mapreader.cpp @@ -261,7 +261,6 @@ static Map *readMap(xmlNodePtr node, std::string const &path, MapComposite *comp // Clean up tilesets tilesetFirstGids.clear(); - map->resetTempWalk(); return map; } @@ -379,5 +378,5 @@ static void setTileWithGid(Map *map, int x, int y, int gid) set = *i; } - map->setPermWalk(x, y, gid == set); + map->setWalk(x, y, gid == set); } |