diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-11 14:58:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-11 14:58:14 +0300 |
commit | c14086d6a08fb2ea644eec9fafa0374604c98991 (patch) | |
tree | 29a00277b215a32e019fd06cab4b9ac709ac775c /src/actorspritemanager.h | |
parent | 7e19d626711ecf70035b32ee99098fc7fc3419fe (diff) | |
download | mv-c14086d6a08fb2ea644eec9fafa0374604c98991.tar.gz mv-c14086d6a08fb2ea644eec9fafa0374604c98991.tar.bz2 mv-c14086d6a08fb2ea644eec9fafa0374604c98991.tar.xz mv-c14086d6a08fb2ea644eec9fafa0374604c98991.zip |
Add relative pixel based position to item drops (floor items).
Diffstat (limited to 'src/actorspritemanager.h')
-rw-r--r-- | src/actorspritemanager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/actorspritemanager.h b/src/actorspritemanager.h index a78e3ad49..d30bad426 100644 --- a/src/actorspritemanager.h +++ b/src/actorspritemanager.h @@ -63,7 +63,8 @@ class ActorSpriteManager: public ConfigListener * Create a FloorItem and add it to the list of ActorSprites. */ FloorItem *createItem(int id, int itemId, int x, int y, - int amount, unsigned char color); + int amount, unsigned char color, + int subX, int subY); /** * Destroys the given ActorSprite at the end of |