DB/World: Backport schema changes from 6.x branch (renames)

This commit is contained in:
Aokromes committed 2015-07-19 20:01:43 +02:00
1 parent bedcc764f4
commit d3fec662dd
5 files changed
+222 -36

No files matched your search

+1 -1
View File
@@ -1669,7 +1669,7 @@ void SpellMgr::LoadSpellTargetPositions()
mSpellTargetPositions.clear(); // need for reload case
// 0 1 2 3 4 5 6
QueryResult result = WorldDatabase.Query("SELECT id, effIndex, target_map, target_position_x, target_position_y, target_position_z, target_orientation FROM spell_target_position");
QueryResult result = WorldDatabase.Query("SELECT ID, EffectIndex, MapID, PositionX, PositionY, PositionZ, Orientation FROM spell_target_position");
if (!result)
{
TC_LOG_INFO("server.loading", ">> Loaded 0 spell target coordinates. DB table `spell_target_position` is empty.");