diff options
author | Filippos Karapetis | 2015-02-14 14:45:08 +0200 |
---|---|---|
committer | Filippos Karapetis | 2015-02-14 15:08:28 +0200 |
commit | 14914b2a31399ceb6b2e4d7616535e346ee3acd6 (patch) | |
tree | 5b2640d61a292c8e47c2e443367cee849138dfd2 /engines/zvision/core | |
parent | 2d2cfbe005b93397f1e121888b0358e137ccc863 (diff) | |
download | scummvm-rg350-14914b2a31399ceb6b2e4d7616535e346ee3acd6.tar.gz scummvm-rg350-14914b2a31399ceb6b2e4d7616535e346ee3acd6.tar.bz2 scummvm-rg350-14914b2a31399ceb6b2e4d7616535e346ee3acd6.zip |
ZVISION: Add custom equality operators for game location
This makes the location checks more readable
Diffstat (limited to 'engines/zvision/core')
-rw-r--r-- | engines/zvision/core/events.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/core/events.cpp b/engines/zvision/core/events.cpp index 9cf5d04a7a..cc1c00b6d0 100644 --- a/engines/zvision/core/events.cpp +++ b/engines/zvision/core/events.cpp @@ -152,7 +152,7 @@ void ZVision::cheatCodes(uint8 key) { if (checkCode("HELLOSAILOR")) { Audio::AudioStream *soundStream; - if (loc.world == 'v' && loc.room == 'b' && loc.node == '1' && loc.view == '0') { + if (loc == "vb10") { soundStream = makeRawZorkStream("v000hpta.raw", this); } else { soundStream = makeRawZorkStream("v000hnta.raw", this); |