*Fix build.
--HG-- branch : trunk
This commit is contained in:
1 parent
5fd5da0123
commit
b7be6cb6da
3 files changed
+9
-3
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user