diff options
author | MitchesD <majklprofik@seznam.cz> | 2015-06-26 17:31:07 +0200 |
---|---|---|
committer | MitchesD <majklprofik@seznam.cz> | 2015-06-26 17:31:07 +0200 |
commit | 3d6abdb2ff3b4f672890ce9762fa5eefbcf111c8 (patch) | |
tree | 2f2e7dd07216bca81d4e4a09e283ef90428d1684 | |
parent | 2ce76a25c32453f3be1297a10198c43b231174ed (diff) |
Scripts/Commands: fix compile warning
-rw-r--r-- | src/server/scripts/Commands/cs_go.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/server/scripts/Commands/cs_go.cpp b/src/server/scripts/Commands/cs_go.cpp index 53522736718..764ccd9e0d3 100644 --- a/src/server/scripts/Commands/cs_go.cpp +++ b/src/server/scripts/Commands/cs_go.cpp @@ -123,7 +123,7 @@ public: whereClause << "WHERE guid = '" << guid << '\''; } - QueryResult result = WorldDatabase.PQuery("SELECT position_x, position_y, position_z, orientation, map, guid, id FROM creature %s", whereClause.str().c_str()); + QueryResult result = WorldDatabase.PQuery("SELECT position_x, position_y, position_z, orientation, map FROM creature %s", whereClause.str().c_str()); if (!result) { handler->SendSysMessage(LANG_COMMAND_GOCREATNOTFOUND); @@ -139,8 +139,6 @@ public: float z = fields[2].GetFloat(); float o = fields[3].GetFloat(); uint32 mapId = fields[4].GetUInt16(); - ObjectGuid::LowType guid = fields[5].GetUInt64(); - uint32 id = fields[6].GetUInt32(); Transport* transport = NULL; |