Misc cleanups

This commit is contained in:
hondacrx
2017-07-22 10:56:15 -04:00
parent 54fc79fced
commit cbf11e07ae
14 changed files with 48 additions and 59 deletions
+3 -3
View File
@@ -607,10 +607,10 @@ namespace Game.Chat
return false;
}
int currentValue = (int)handler.GetSession().GetPlayer().GetUInt32Value(opcode);
uint currentValue = handler.GetSession().GetPlayer().GetUInt32Value(opcode);
currentValue += value;
handler.GetSession().GetPlayer().SetUInt32Value(opcode, (uint)currentValue);
currentValue += (uint)value;
handler.GetSession().GetPlayer().SetUInt32Value(opcode, currentValue);
handler.SendSysMessage(CypherStrings.Change32bitField, opcode, currentValue);