mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-03 23:31:57 +00:00
CHEWY: Fix flag for having gotten diary
This commit is contained in:
parent
14e2d89b35
commit
b2885e52d8
@ -38,7 +38,7 @@ void Room80::entry() {
|
||||
det->play_sound(0, 1);
|
||||
det->play_sound(0, 2);
|
||||
|
||||
if (_G(spieler).flags31_2) {
|
||||
if (_G(spieler).gottenDiary) {
|
||||
atds->del_steuer_bit(476, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
} else {
|
||||
atds->set_steuer_bit(476, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
@ -83,7 +83,7 @@ void Room80::setup_func() {
|
||||
return;
|
||||
|
||||
if (vec != 0 && vec != 2) {
|
||||
if (vec != 1 || !_G(spieler).flags31_2)
|
||||
if (vec != 1 || !_G(spieler).gottenDiary)
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -92,8 +92,8 @@ void Room81::proc1() {
|
||||
auto_move(1, P_CHEWY);
|
||||
spieler_mi[P_CHEWY].Mode = false;
|
||||
invent_2_slot(DIARY_INV);
|
||||
_G(spieler).flags30_2 = true;
|
||||
_G(spieler).flags31_4 = true;
|
||||
_G(spieler).gottenDiary = true;
|
||||
}
|
||||
|
||||
if (diaNr != -1) {
|
||||
|
@ -304,7 +304,7 @@ struct SpielerFlags {
|
||||
bool flags30_80 : 1;
|
||||
|
||||
bool flags31_1 : 1;
|
||||
bool flags31_2 : 1;
|
||||
bool gottenDiary : 1;
|
||||
bool flags31_4 : 1;
|
||||
bool flags31_8 : 1;
|
||||
bool flags31_10 : 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user