mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
Apply style fix pt5
This commit is contained in:
parent
4727d8846f
commit
1a1110b4f7
67 changed files with 648 additions and 214 deletions
|
|
@ -825,7 +825,9 @@ bool ChatHandler::HandleDebugSetAuraStateCommand(char* args)
|
|||
{
|
||||
// reset all states
|
||||
for (int i = 1; i <= 32; ++i)
|
||||
{ unit->ModifyAuraState(AuraState(i), false); }
|
||||
{
|
||||
unit->ModifyAuraState(AuraState(i), false);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -1013,7 +1015,9 @@ bool ChatHandler::HandleGetValueHelper(Object* target, uint32 field, char* typeS
|
|||
res.reserve(1 + 32 + 1);
|
||||
res = (iValue & (1 << (32 - 1))) ? "0" : " ";
|
||||
for (int i = 32; i > 0; --i)
|
||||
{ res += (iValue & (1 << (i - 1))) ? "1" : "0"; }
|
||||
{
|
||||
res += (iValue & (1 << (i - 1))) ? "1" : "0";
|
||||
}
|
||||
DEBUG_LOG(GetMangosString(LANG_GET_BITSTR), guid.GetString().c_str(), field, res.c_str());
|
||||
PSendSysMessage(LANG_GET_BITSTR_FIELD, guid.GetString().c_str(), field, res.c_str());
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue