[Scummvm-git-logs] scummvm branch-2-3 -> cee5782d51b9d24c8e9323bfa7a8b2b9e038570c
mgerhardy
martin.gerhardy at gmail.com
Wed Sep 8 17:54:38 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
cee5782d51 TWINE: fixed dotemu achievement for talking to the star wars fanboy
Commit: cee5782d51b9d24c8e9323bfa7a8b2b9e038570c
https://github.com/scummvm/scummvm/commit/cee5782d51b9d24c8e9323bfa7a8b2b9e038570c
Author: Martin Gerhardy (martin.gerhardy at gmail.com)
Date: 2021-09-08T19:54:20+02:00
Commit Message:
TWINE: fixed dotemu achievement for talking to the star wars fanboy
Changed paths:
engines/twine/script/script_life_v1.cpp
engines/twine/shared.h
diff --git a/engines/twine/script/script_life_v1.cpp b/engines/twine/script/script_life_v1.cpp
index 870f7309fc..f37bd94ee5 100644
--- a/engines/twine/script/script_life_v1.cpp
+++ b/engines/twine/script/script_life_v1.cpp
@@ -657,7 +657,7 @@ static int32 lMESSAGE(TwinEEngine *engine, LifeScriptContext &ctx) {
engine->_text->setFontCrossColor(ctx.actor->_talkColor);
engine->_scene->_talkingActor = ctx.actorIdx;
engine->_text->drawTextProgressive(textIdx);
- if (engine->_scene->_currentSceneIdx == LBA1SceneId::Principal_Island_Library && engine->_scene->_talkingActor == 8)/* && (*(short *)lifeScriptPosition == 0xe2 [226])*/ {
+ if (engine->_scene->_currentSceneIdx == LBA1SceneId::Principal_Island_Library && engine->_scene->_talkingActor == 8 && textIdx == TextId::kStarWarsFanBoy) {
engine->unlockAchievement("LBA_ACH_008");
}
engine->_redraw->redrawEngineActions(true);
diff --git a/engines/twine/shared.h b/engines/twine/shared.h
index 5bcbcfc792..0413874398 100644
--- a/engines/twine/shared.h
+++ b/engines/twine/shared.h
@@ -524,6 +524,7 @@ enum class TextId : int16 {
kIntroText3 = 152,
kBookOfBu = 161,
kBonusList = 162,
+ kStarWarsFanBoy = 226,
kDetailsPolygonsLow = 231,
kShadowsDisabled = 232,
kNoSceneryZoom = 233,
More information about the Scummvm-git-logs
mailing list