mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +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;
|
return;
|
||||||
|
|
||||||
if (!item->IsBroken())
|
if (!item->IsBroken())
|
||||||
|
{
|
||||||
for (int s=0; s<3; s++)
|
for (int s=0; s<3; s++)
|
||||||
{
|
{
|
||||||
uint32 enchant_display_type = pEnchant->type[s];
|
uint32 enchant_display_type = pEnchant->type[s];
|
||||||
|
|
@ -11736,6 +11737,7 @@ void Player::ApplyEnchantment(Item *item,EnchantmentSlot slot,bool apply, bool a
|
||||||
break;
|
break;
|
||||||
} /*switch(enchant_display_type)*/
|
} /*switch(enchant_display_type)*/
|
||||||
} /*for*/
|
} /*for*/
|
||||||
|
}
|
||||||
|
|
||||||
// visualize enchantment at player and equipped items
|
// visualize enchantment at player and equipped items
|
||||||
if(slot < MAX_INSPECTED_ENCHANTMENT_SLOT)
|
if(slot < MAX_INSPECTED_ENCHANTMENT_SLOT)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7737"
|
#define REVISION_NR "7738"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue