From cc4e5c99f17846611db09e40b244e693b78ee94a Mon Sep 17 00:00:00 2001 From: mekolat Date: Tue, 14 Jul 2015 14:09:54 -0400 Subject: add POS_X and POS_Y params --- src/map/pc.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/map/pc.cpp') diff --git a/src/map/pc.cpp b/src/map/pc.cpp index 84d02a4..4f0c8d2 100644 --- a/src/map/pc.cpp +++ b/src/map/pc.cpp @@ -3511,6 +3511,12 @@ int pc_readparam(dumb_ptr bl, SP type) case SP::ATTACKRANGE: val = battle_get_range(bl); break; + case SP::POS_X: + val = bl->bl_x; + break; + case SP::POS_Y: + val = bl->bl_y; + break; } return val; -- cgit v1.2.3-60-g2f50