mirror of
https://github.com/EQEmu/Server.git
synced 2026-10-11 00:02:12 +00:00
code fix
This commit is contained in:
1 parent
59bcd031c8
commit
7943a73cfb
2 files changed
+2
No files matched your search
@@ -1942,6 +1942,7 @@ void Client::DoEnduranceUpkeep() {
|
||||
if (buffs[buffs_i].spellid != SPELL_UNKNOWN) {
|
||||
int upkeep = spells[buffs[buffs_i].spellid].EndurUpkeep;
|
||||
if(upkeep > 0) {
|
||||
has_effect = true;
|
||||
if(cost_redux > 0) {
|
||||
if(upkeep <= cost_redux)
|
||||
continue; //reduced to 0
|
||||
|
||||
@@ -1174,6 +1174,7 @@ void Merc::DoEnduranceUpkeep() {
|
||||
if (buffs[buffs_i].spellid != SPELL_UNKNOWN) {
|
||||
int upkeep = spells[buffs[buffs_i].spellid].EndurUpkeep;
|
||||
if(upkeep > 0) {
|
||||
has_effect = true;
|
||||
if(cost_redux > 0) {
|
||||
if(upkeep <= cost_redux)
|
||||
continue; //reduced to 0
|
||||
|
||||
Reference in new issue
Block a user