diff options
author | mekolat <mekolat@users.noreply.github.com> | 2015-07-14 14:09:54 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2016-04-15 11:45:30 -0400 |
commit | cc4e5c99f17846611db09e40b244e693b78ee94a (patch) | |
tree | e119ceff6f996ac5f2326e9e8a5f38ad65d2d7a8 /src/map | |
parent | eeb22b821f36e260edcf0a4e01656608e0405ba4 (diff) | |
download | tmwa-cc4e5c99f17846611db09e40b244e693b78ee94a.tar.gz tmwa-cc4e5c99f17846611db09e40b244e693b78ee94a.tar.bz2 tmwa-cc4e5c99f17846611db09e40b244e693b78ee94a.tar.xz tmwa-cc4e5c99f17846611db09e40b244e693b78ee94a.zip |
add POS_X and POS_Y params
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; |