*Fix build.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-20 14:10:53 -06:00
parent 5fd5da0123
commit b7be6cb6da
3 changed files with 9 additions and 3 deletions

View File

@@ -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);