Core: Minor code cleanup before next commits
--HG-- branch : trunk
This commit is contained in:
@@ -193,7 +193,7 @@ bool ChatHandler::HandleReloadAllGossipsCommand(const char* args)
|
||||
HandleReloadNpcGossipCommand("a");
|
||||
HandleReloadPointsOfInterestCommand("a");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
bool ChatHandler::HandleReloadAllItemCommand(const char*)
|
||||
{
|
||||
@@ -6710,11 +6710,11 @@ bool ChatHandler::HandleInstanceUnbindCommand(const char *args)
|
||||
diff = atoi(pDiff);
|
||||
uint16 counter = 0;
|
||||
int16 MapId = 0;
|
||||
|
||||
|
||||
if (strcmp(pMap, "all"))
|
||||
if (!(MapId = atoi(pMap)))
|
||||
return false;
|
||||
|
||||
|
||||
for(uint8 i = 0; i < MAX_DIFFICULTY; ++i)
|
||||
{
|
||||
Player::BoundInstancesMap &binds = player->GetBoundInstances(Difficulty(i));
|
||||
|
||||
Reference in New Issue
Block a user