Core/DB: Fix character creation in Player::SaveToDB.
And some misc comments/whitespaces
This commit is contained in:
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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user