*Fix build.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2008-12-20 14:10:53 -06:00
1 parent 5fd5da0123
commit b7be6cb6da
3 files changed
+9 -3

No files matched your search

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