summaryrefslogtreecommitdiff
path: root/src/map/mob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/mob.cpp')
-rw-r--r--src/map/mob.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/mob.cpp b/src/map/mob.cpp
index 065a517..7b2a3d4 100644
--- a/src/map/mob.cpp
+++ b/src/map/mob.cpp
@@ -2799,8 +2799,8 @@ int mob_damage(dumb_ptr<block_list> src, dumb_ptr<mob_data> md, int damage,
argrec_t arg[3] =
{
{"@mobID"_s, static_cast<int32_t>(unwrap<Species>(md->mob_class))},
- {"@mob_X"_s, static_cast<int32_t>(md->bl_x)},
- {"@mob_Y"_s, static_cast<int32_t>(md->bl_y)},
+ {"@mobX"_s, static_cast<int32_t>(md->bl_x)},
+ {"@mobY"_s, static_cast<int32_t>(md->bl_y)},
};
npc_event_doall_l(stringish<ScriptLabel>("OnMobKillEvent"_s), sd->bl_id, arg);
}