mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[11186] Fixed tail whitespaces in pool commands code.
This commit is contained in:
parent
71d672062e
commit
49ef8edb6a
2 changed files with 7 additions and 7 deletions
|
|
@ -4806,10 +4806,10 @@ bool ChatHandler::HandlePoolInfoCommand(char* args)
|
||||||
{
|
{
|
||||||
PoolTemplateData const& mother_template = sPoolMgr.GetPoolTemplate(mother_pool_id);
|
PoolTemplateData const& mother_template = sPoolMgr.GetPoolTemplate(mother_pool_id);
|
||||||
if (m_session)
|
if (m_session)
|
||||||
PSendSysMessage(LANG_POOL_INFO_HEADER_CHAT, pool_id, mother_pool_id, mother_pool_id, mother_template.description.c_str(),
|
PSendSysMessage(LANG_POOL_INFO_HEADER_CHAT, pool_id, mother_pool_id, mother_pool_id, mother_template.description.c_str(),
|
||||||
pool_template.AutoSpawn, pool_template.MaxLimit);
|
pool_template.AutoSpawn, pool_template.MaxLimit);
|
||||||
else
|
else
|
||||||
PSendSysMessage(LANG_POOL_INFO_HEADER_CONSOLE, pool_id, mother_pool_id, mother_template.description.c_str(),
|
PSendSysMessage(LANG_POOL_INFO_HEADER_CONSOLE, pool_id, mother_pool_id, mother_template.description.c_str(),
|
||||||
pool_template.AutoSpawn, pool_template.MaxLimit);
|
pool_template.AutoSpawn, pool_template.MaxLimit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -4919,12 +4919,12 @@ bool ChatHandler::HandlePoolInfoCommand(char* args)
|
||||||
PoolTemplateData const& itr_template = sPoolMgr.GetPoolTemplate(itr->guid);
|
PoolTemplateData const& itr_template = sPoolMgr.GetPoolTemplate(itr->guid);
|
||||||
char const* active = poolSpawns && poolSpawns->find(itr->guid) != poolSpawns->end() ? active_str.c_str() : "";
|
char const* active = poolSpawns && poolSpawns->find(itr->guid) != poolSpawns->end() ? active_str.c_str() : "";
|
||||||
if (m_session)
|
if (m_session)
|
||||||
PSendSysMessage(LANG_POOL_CHANCE_POOL_LIST_CHAT, itr->guid,
|
PSendSysMessage(LANG_POOL_CHANCE_POOL_LIST_CHAT, itr->guid,
|
||||||
itr->guid, itr_template.description.c_str(), itr_template.AutoSpawn ? 1 : 0, itr_template.MaxLimit,
|
itr->guid, itr_template.description.c_str(), itr_template.AutoSpawn ? 1 : 0, itr_template.MaxLimit,
|
||||||
sPoolMgr.GetPoolCreatures(itr->guid).size(), sPoolMgr.GetPoolGameObjects(itr->guid).size(), sPoolMgr.GetPoolPools(itr->guid).size(),
|
sPoolMgr.GetPoolCreatures(itr->guid).size(), sPoolMgr.GetPoolGameObjects(itr->guid).size(), sPoolMgr.GetPoolPools(itr->guid).size(),
|
||||||
itr->chance, active);
|
itr->chance, active);
|
||||||
else
|
else
|
||||||
PSendSysMessage(LANG_POOL_CHANCE_POOL_LIST_CONSOLE, itr->guid,
|
PSendSysMessage(LANG_POOL_CHANCE_POOL_LIST_CONSOLE, itr->guid,
|
||||||
itr_template.description.c_str(), itr_template.AutoSpawn ? 1 : 0, itr_template.MaxLimit,
|
itr_template.description.c_str(), itr_template.AutoSpawn ? 1 : 0, itr_template.MaxLimit,
|
||||||
sPoolMgr.GetPoolCreatures(itr->guid).size(), sPoolMgr.GetPoolGameObjects(itr->guid).size(), sPoolMgr.GetPoolPools(itr->guid).size(),
|
sPoolMgr.GetPoolCreatures(itr->guid).size(), sPoolMgr.GetPoolGameObjects(itr->guid).size(), sPoolMgr.GetPoolPools(itr->guid).size(),
|
||||||
itr->chance, active);
|
itr->chance, active);
|
||||||
|
|
@ -4940,12 +4940,12 @@ bool ChatHandler::HandlePoolInfoCommand(char* args)
|
||||||
PoolTemplateData const& itr_template = sPoolMgr.GetPoolTemplate(itr->guid);
|
PoolTemplateData const& itr_template = sPoolMgr.GetPoolTemplate(itr->guid);
|
||||||
char const* active = poolSpawns && poolSpawns->find(itr->guid) != poolSpawns->end() ? active_str.c_str() : "";
|
char const* active = poolSpawns && poolSpawns->find(itr->guid) != poolSpawns->end() ? active_str.c_str() : "";
|
||||||
if (m_session)
|
if (m_session)
|
||||||
PSendSysMessage(LANG_POOL_POOL_LIST_CHAT, itr->guid,
|
PSendSysMessage(LANG_POOL_POOL_LIST_CHAT, itr->guid,
|
||||||
itr->guid, itr_template.description.c_str(), itr_template.AutoSpawn ? 1 : 0, itr_template.MaxLimit,
|
itr->guid, itr_template.description.c_str(), itr_template.AutoSpawn ? 1 : 0, itr_template.MaxLimit,
|
||||||
sPoolMgr.GetPoolCreatures(itr->guid).size(), sPoolMgr.GetPoolGameObjects(itr->guid).size(), sPoolMgr.GetPoolPools(itr->guid).size(),
|
sPoolMgr.GetPoolCreatures(itr->guid).size(), sPoolMgr.GetPoolGameObjects(itr->guid).size(), sPoolMgr.GetPoolPools(itr->guid).size(),
|
||||||
active);
|
active);
|
||||||
else
|
else
|
||||||
PSendSysMessage(LANG_POOL_POOL_LIST_CONSOLE, itr->guid,
|
PSendSysMessage(LANG_POOL_POOL_LIST_CONSOLE, itr->guid,
|
||||||
itr_template.description.c_str(), itr_template.AutoSpawn ? 1 : 0, itr_template.MaxLimit,
|
itr_template.description.c_str(), itr_template.AutoSpawn ? 1 : 0, itr_template.MaxLimit,
|
||||||
sPoolMgr.GetPoolCreatures(itr->guid).size(), sPoolMgr.GetPoolGameObjects(itr->guid).size(), sPoolMgr.GetPoolPools(itr->guid).size(),
|
sPoolMgr.GetPoolCreatures(itr->guid).size(), sPoolMgr.GetPoolGameObjects(itr->guid).size(), sPoolMgr.GetPoolPools(itr->guid).size(),
|
||||||
active);
|
active);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11185"
|
#define REVISION_NR "11186"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue