mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-05 02:17:05 +00:00
TWINE: fixed using the wrong penguin angle
Rotate(0, 800, ListObjet[NUM_PERSO].Beta) is the original source code line
This commit is contained in:
parent
cd7e3ec6e4
commit
99164665ba
@ -704,7 +704,7 @@ void TwinEEngine::processInventoryAction() {
|
||||
case kiPenguin: {
|
||||
ActorStruct *penguin = _scene->getActor(_scene->_mecaPenguinIdx);
|
||||
|
||||
const IVec3 &destPos = _movements->rotateActor(0, 800, penguin->_angle);
|
||||
const IVec3 &destPos = _movements->rotateActor(0, 800, _scene->_sceneHero->_angle);
|
||||
|
||||
penguin->_pos = _scene->_sceneHero->_pos;
|
||||
penguin->_pos.x += destPos.x;
|
||||
|
Loading…
x
Reference in New Issue
Block a user