mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-05 02:17:05 +00:00
TWINE: Pressing W to talk to people in sporty mode also makes you jump
... after the interaction finishes see https://bugs.scummvm.org/ticket/13676
This commit is contained in:
parent
411fb9ffd9
commit
0540f7cf5c
@ -733,6 +733,13 @@ static int32 lMESSAGE(TwinEEngine *engine, LifeScriptContext &ctx) {
|
||||
}
|
||||
engine->_text->setFontCrossColor(ctx.actor->_talkColor);
|
||||
engine->_scene->_talkingActor = ctx.actorIdx;
|
||||
|
||||
// if we are in sporty mode, we might have triggered a jump with the special action binding
|
||||
// see https://bugs.scummvm.org/ticket/13676 for more details.
|
||||
if (ctx.actor->isJumpAnimationActive()) {
|
||||
engine->_animations->initAnim(AnimationTypes::kStanding, AnimType::kAnimationTypeLoop, AnimationTypes::kAnimInvalid, OWN_ACTOR_SCENE_INDEX);
|
||||
}
|
||||
|
||||
engine->_text->drawTextProgressive(textIdx);
|
||||
if (engine->_scene->_currentSceneIdx == LBA1SceneId::Principal_Island_Library && engine->_scene->_talkingActor == 8 && textIdx == TextId::kStarWarsFanBoy) {
|
||||
engine->unlockAchievement("LBA_ACH_008");
|
||||
|
Loading…
x
Reference in New Issue
Block a user