Core/DBLayer: Couple fixes

This commit is contained in:
leak committed 2012-01-02 20:29:22 +01:00
1 parent ced346076b
commit 73f79c41a1
5 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -1041,7 +1041,7 @@ public:
}
while (result->NextRow());
// set "wpguid" column to "empty" - no visual waypoint spawned
PreparedStatement* stmt = WorldDatabase.GetPreparedStatement(WOLRD_UPD_ALL_WAYPOINT_DATA_WPGUID);
PreparedStatement* stmt = WorldDatabase.GetPreparedStatement(WORLD_UPD_ALL_WAYPOINT_DATA_WPGUID);
WorldDatabase.Execute(stmt);
//WorldDatabase.PExecute("UPDATE creature_movement SET wpguid = '0' WHERE wpguid <> '0'");