Core/DB: Fix character creation in Player::SaveToDB.

And some misc comments/whitespaces
This commit is contained in:
kaelima
2011-11-26 01:53:44 +01:00
parent 754f6f29ac
commit a919265623
8 changed files with 16 additions and 15 deletions
@@ -68,10 +68,12 @@ void SmartWaypointMgr::LoadFromDB()
path = new WPPath;
last_id = 1;
}
if (last_id != id)
{
sLog->outErrorDb("SmartWaypointMgr::LoadFromDB: Path entry %u, unexpected point id %u, expected %u.", entry, id, last_id);
}
last_id++;
(*path)[id] = wp;