diff options
Diffstat (limited to 'src/map/mob.cpp')
-rw-r--r-- | src/map/mob.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/mob.cpp b/src/map/mob.cpp index 63db442..b01a4ff 100644 --- a/src/map/mob.cpp +++ b/src/map/mob.cpp @@ -2591,7 +2591,7 @@ int mob_damage(dumb_ptr<block_list> src, dumb_ptr<mob_data> md, int damage, if (it == ptv.end()) { Option<PartyPair> p_ = party_search(pid); - if OPTION_IS_SOME_NOLOOP(p, p_) + OMATCH_BEGIN_SOME (p, p_) { if (p->exp != 0) { @@ -2600,6 +2600,7 @@ int mob_damage(dumb_ptr<block_list> src, dumb_ptr<mob_data> md, int damage, flag = 0; } } + OMATCH_END (); } else { |