diff options
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/pc.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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<block_list> 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; |