mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-13 15:40:57 +00:00
PINK: fix item moving
This commit is contained in:
parent
471840514f
commit
a37a7895db
@ -60,15 +60,11 @@ void CursorMgr::setCursor(uint index, const Common::Point point, const Common::S
|
||||
|
||||
if (action != _actor->getAction()) {
|
||||
_actor->setAction(action);
|
||||
CelDecoder *decoder = static_cast<ActionCEL*>(action)->getDecoder();
|
||||
decoder->setX(point.x);
|
||||
decoder->setY(point.y);
|
||||
} else {
|
||||
CelDecoder *decoder = static_cast<ActionCEL*>(action)->getDecoder();
|
||||
decoder->setX(point.x);
|
||||
decoder->setY(point.y);
|
||||
}
|
||||
|
||||
ActionCEL *sprite = static_cast<ActionCEL*>(action);
|
||||
sprite->setCenter(point);
|
||||
|
||||
}
|
||||
|
||||
void CursorMgr::update() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user