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

And some misc comments/whitespaces
This commit is contained in:
kaelima committed 2011-11-26 01:53:44 +01:00
1 parent 754f6f29ac
commit a919265623
8 files changed
+16 -15

No files matched your search

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