summaryrefslogtreecommitdiff
path: root/src/game-server/actor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/actor.cpp')
-rw-r--r--src/game-server/actor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/actor.cpp b/src/game-server/actor.cpp
index 8325c6d8..60379124 100644
--- a/src/game-server/actor.cpp
+++ b/src/game-server/actor.cpp
@@ -71,7 +71,7 @@ void Actor::setMap(MapComposite *mapComposite)
oldMap->freeTile(p.x / oldTileWidth, p.y / oldTileHeight,
getBlockType());
}
- Thing::setMap(mapComposite);
+ Entity::setMap(mapComposite);
Map *map = mapComposite->getMap();
int tileWidth = map->getTileWidth();
int tileHeight = map->getTileHeight();