mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
[svn] *** Source: MaNGOS ***
* Implement localization of creature/gameobject name that say/yell. Author: evilstar (rewrited by: Vladimir) * Fix auth login queue. Author: Derex * Allowed switching INVTYPE_HOLDABLE items during combat, used correct spells for triggering global cooldown at weapon switch. Author: mobel/simak * Fixed some format arg type/value pairs. Other warnings. Author: Vladimir * [238_world.sql] Allow have team dependent graveyards at entrance map for instances. Author: Vladimir NOTE: Entrance map graveyards selected by same way as local (by distance from entrance) Until DB support will work in old way base at current DB data. --HG-- branch : trunk
This commit is contained in:
@@ -2822,12 +2822,7 @@ bool ChatHandler::HandleWpShowCommand(const char* args)
|
||||
std::string show = show_str;
|
||||
uint32 Maxpoint;
|
||||
|
||||
sLog.outDebug("DEBUG: HandleWpShowCommand: lowguid: %u", lowguid);
|
||||
|
||||
sLog.outDebug("DEBUG: HandleWpShowCommand: Habe creature: %ld", target );
|
||||
|
||||
sLog.outDebug("DEBUG: HandleWpShowCommand: wpshow - show: %s", show_str);
|
||||
//PSendSysMessage("wpshow - show: %s", show);
|
||||
sLog.outDebug("DEBUG: HandleWpShowCommand: lowguid: %u show: %s", lowguid, show_str);
|
||||
|
||||
// Show info for the selected waypoint
|
||||
if(show == "info")
|
||||
@@ -2848,7 +2843,7 @@ bool ChatHandler::HandleWpShowCommand(const char* args)
|
||||
|
||||
QueryResult *result =
|
||||
WorldDatabase.PQuery( "SELECT id, point, waittime, emote, spell, text1, text2, text3, text4, text5, model1, model2 FROM creature_movement WHERE wpguid = %u",
|
||||
target->GetGUID() );
|
||||
target->GetGUIDLow() );
|
||||
if(!result)
|
||||
{
|
||||
// Since we compare float values, we have to deal with
|
||||
|
||||
Reference in New Issue
Block a user