aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorWalter van Niftrik2016-02-28 13:43:28 +0100
committerWalter van Niftrik2016-03-09 10:03:13 +0100
commitce97d0a26e51ff1253ae3268f09673f0aa31f4a7 (patch)
tree9de6a2d17d5d29589d52527fa3d8358d0ba7f9e0 /engines
parent6a1dd071978f8ef48cb980d736877f1944a9a78f (diff)
downloadscummvm-rg350-ce97d0a26e51ff1253ae3268f09673f0aa31f4a7.tar.gz
scummvm-rg350-ce97d0a26e51ff1253ae3268f09673f0aa31f4a7.tar.bz2
scummvm-rg350-ce97d0a26e51ff1253ae3268f09673f0aa31f4a7.zip
ADL: Use #defines instead of literals
Diffstat (limited to 'engines')
-rw-r--r--engines/adl/hires1.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/adl/hires1.cpp b/engines/adl/hires1.cpp
index 7d52d2ab05..65aa66532e 100644
--- a/engines/adl/hires1.cpp
+++ b/engines/adl/hires1.cpp
@@ -386,16 +386,16 @@ void HiRes1Engine::printMessage(uint idx, bool wait) {
// Hardcoded overrides that don't wait after printing
// Note: strings may differ slightly from the ones in MESSAGES
switch (idx) {
- case 137:
+ case IDI_HR1_MSG_CANT_GO_THERE:
_display->printString(_strings[IDI_HR1_STR_CANT_GO_THERE]);
return;
- case 127:
+ case IDI_HR1_MSG_DONT_HAVE_IT:
_display->printString(_strings[IDI_HR1_STR_DONT_HAVE_IT]);
return;
- case 37:
+ case IDI_MSG_DONT_UNDERSTAND:
_display->printString(_strings[IDI_HR1_STR_DONT_UNDERSTAND]);
return;
- case 7:
+ case IDI_HR1_MSG_GETTING_DARK:
_display->printString(_strings[IDI_HR1_STR_GETTING_DARK]);
return;
}