summaryrefslogtreecommitdiff
path: root/src/map/party.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/party.cpp')
-rw-r--r--src/map/party.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/party.cpp b/src/map/party.cpp
index d0039de..0ba251f 100644
--- a/src/map/party.cpp
+++ b/src/map/party.cpp
@@ -685,7 +685,7 @@ void party_send_hp_check(dumb_ptr<block_list> bl, int party_id, int *flag)
dumb_ptr<map_session_data> sd;
nullpo_retv(bl);
- sd = bl->as_player();
+ sd = bl->is_player();
if (sd->status.party_id == party_id)
{