mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
Fix for original game bug #1942476 - "AGI: Fan(Get Outta SQ) - Score is lost on restart"
svn-id: r31776
This commit is contained in:
parent
14523bd3bb
commit
0de56ea1f9
@ -105,6 +105,7 @@ enum AgiGameID {
|
||||
GID_SQ2,
|
||||
GID_XMASCARD,
|
||||
GID_FANMADE,
|
||||
GID_GETOUTTASQ,
|
||||
GID_MICKEY, // PreAGI
|
||||
GID_WINNIE, // PreAGI
|
||||
GID_TROLL // PreAGI
|
||||
|
@ -1891,7 +1891,6 @@ static const AGIGameDescription gameDescriptions[] = {
|
||||
FANMADE("Fu$k Quest 2 - Romancing the Bone (Teaser)", "d288355d71d9bb1639260ccaa3b2fbfe"),
|
||||
FANMADE("Fu$k Quest 2 - Romancing the Bone", "294beeb7765c7ea6b05ed7b9bf7bff4f"),
|
||||
FANMADE("Gennadi Tahab Autot - Mission Pack 1 - Kuressaare", "bfa5fe71978e6ccf3d4eedd430124015"),
|
||||
FANMADE("Get Outta Space Quest", "aaea5b4a348acb669d13b0e6f22d4dc9"),
|
||||
FANMADE("Go West, Young Hippie", "ff31484ea465441cb5f3a0f8e956b716"),
|
||||
FANMADE("Good Man (demo v3.41)", "3facd8a8f856b7b6e0f6c3200274d88c"),
|
||||
|
||||
@ -1911,6 +1910,22 @@ static const AGIGameDescription gameDescriptions[] = {
|
||||
0x2440,
|
||||
},
|
||||
|
||||
{
|
||||
// Get Outta SQ
|
||||
{
|
||||
"agi-fanmade",
|
||||
"Get Outta Space Quest",
|
||||
AD_ENTRY1("logdir", "aaea5b4a348acb669d13b0e6f22d4dc9"),
|
||||
Common::EN_ANY,
|
||||
Common::kPlatformPC,
|
||||
Common::ADGF_NO_FLAGS
|
||||
},
|
||||
GID_GETOUTTASQ,
|
||||
GType_V2,
|
||||
0,
|
||||
0x2440,
|
||||
},
|
||||
|
||||
FANMADE_F("Half-Death - Terror At White-Mesa", "b62c05d0ace878261392073f57ae788c", GF_AGIMOUSE),
|
||||
FANMADE("Hank's Quest (v1.0 English) - Victim of Society", "64c15b3d0483d17888129100dc5af213"),
|
||||
FANMADE("Hank's Quest (v1.1 English) - Victim of Society", "86d1f1dd9b0c4858d096e2a60cca8a14"),
|
||||
|
@ -74,6 +74,16 @@ cmd(decrement) {
|
||||
|
||||
cmd(assignn) {
|
||||
_v[p0] = p1;
|
||||
|
||||
// WORKAROUND for a bug in fan game "Get outta SQ"
|
||||
// Total number of points is stored in variable 7, which
|
||||
// is then incorrectly assigned to 0. Thus, when the game
|
||||
// is restarted, "Points 0 of 0" is shown. We set the
|
||||
// variable to the correct value here
|
||||
// Fixes bug #1942476 - "AGI: Fan(Get Outta SQ) - Score
|
||||
// is lost on restart"
|
||||
if (g_agi->getGameID() == GID_GETOUTTASQ && p0 == 7)
|
||||
_v[p0] = 8;
|
||||
}
|
||||
|
||||
cmd(addn) {
|
||||
|
Loading…
Reference in New Issue
Block a user