diff options
author | Hello=) <hello@themanaworld.org> | 2024-11-25 17:11:32 +0300 |
---|---|---|
committer | Hello=) <hello@themanaworld.org> | 2024-11-25 17:11:32 +0300 |
commit | 479d4f5ee9056f683dd674143df9e480f1471245 (patch) | |
tree | a0b6462a3986b3c07e8d8eeb6f552bb80421acdd | |
parent | 271b53b153c3a05b9604b365c7f4ba076fdbc8c4 (diff) | |
download | tmwa-479d4f5ee9056f683dd674143df9e480f1471245.tar.gz tmwa-479d4f5ee9056f683dd674143df9e480f1471245.tar.bz2 tmwa-479d4f5ee9056f683dd674143df9e480f1471245.tar.xz tmwa-479d4f5ee9056f683dd674143df9e480f1471245.zip |
Rename server-set variables as suggested by Thorbjorn
-rw-r--r-- | src/map/mob.cpp | 4 |
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); } |