mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[7738] Use proper indent instead if() for() style.
This commit is contained in:
parent
dba73b611d
commit
c05a531281
2 changed files with 267 additions and 265 deletions
|
|
@ -11441,6 +11441,7 @@ void Player::ApplyEnchantment(Item *item,EnchantmentSlot slot,bool apply, bool a
|
|||
return;
|
||||
|
||||
if (!item->IsBroken())
|
||||
{
|
||||
for (int s=0; s<3; s++)
|
||||
{
|
||||
uint32 enchant_display_type = pEnchant->type[s];
|
||||
|
|
@ -11736,6 +11737,7 @@ void Player::ApplyEnchantment(Item *item,EnchantmentSlot slot,bool apply, bool a
|
|||
break;
|
||||
} /*switch(enchant_display_type)*/
|
||||
} /*for*/
|
||||
}
|
||||
|
||||
// visualize enchantment at player and equipped items
|
||||
if(slot < MAX_INSPECTED_ENCHANTMENT_SLOT)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "7737"
|
||||
#define REVISION_NR "7738"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue