diff options
author | megamage <none@none> | 2008-12-20 14:10:53 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-12-20 14:10:53 -0600 |
commit | b7be6cb6da831b96ec9fae8442803f06ac3f7971 (patch) | |
tree | c5f15e5c907538d3b06b67c7fbe47be8237a1f6f /src/game/Map.cpp | |
parent | 5fd5da0123323a01731b674cc1c34410c1120d47 (diff) |
*Fix build.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Map.cpp')
-rw-r--r-- | src/game/Map.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/Map.cpp b/src/game/Map.cpp index c2acd65e72e..152a078868b 100644 --- a/src/game/Map.cpp +++ b/src/game/Map.cpp @@ -454,6 +454,13 @@ Map::LoadGrid(const Cell& cell, bool no_unload) //LoadVMap(63-cell.GridX(),63-cell.GridY()); } +void Map::LoadGrid(float x, float y) +{ + CellPair pair = Trinity::ComputeCellPair(x, y); + Cell cell(pair); + EnsureGridLoadedForPlayer(cell, NULL, false); +} + bool Map::Add(Player *player) { player->GetMapRef().link(this, player); |