aboutsummaryrefslogtreecommitdiff
path: root/sword2/resman.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-09-24 06:40:23 +0000
committerTorbjörn Andersson2003-09-24 06:40:23 +0000
commit09a01e4cbeada86167d83608cd0dcd77d7a0168f (patch)
tree060defc05a52b46cd1e055842302355f47eb08bf /sword2/resman.cpp
parent570e60a48797efa08ae5a6c7102f16678704bae8 (diff)
downloadscummvm-rg350-09a01e4cbeada86167d83608cd0dcd77d7a0168f.tar.gz
scummvm-rg350-09a01e4cbeada86167d83608cd0dcd77d7a0168f.tar.bz2
scummvm-rg350-09a01e4cbeada86167d83608cd0dcd77d7a0168f.zip
Replaced abs() with ABS and BOOL with bool, plus some minor cleanups.
svn-id: r10391
Diffstat (limited to 'sword2/resman.cpp')
-rw-r--r--sword2/resman.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sword2/resman.cpp b/sword2/resman.cpp
index 943fc9f24f..7335f20353 100644
--- a/sword2/resman.cpp
+++ b/sword2/resman.cpp
@@ -1438,7 +1438,7 @@ void resMan::GetCd(int cd) {
do {
if (offNetwork == 1)
- done = TRUE;
+ done = true;
else {
index = 0;
while (cdDrives[index] != 0 && !done && index < 24) {
@@ -1450,10 +1450,10 @@ void resMan::GetCd(int cd) {
if (!scumm_stricmp(sCDName,CD1_LABEL)) {
if (cd == CD1)
- done = TRUE;
+ done = true;
} else if (!scumm_stricmp(sCDName,CD2_LABEL)) {
if (cd == CD2)
- done = TRUE;
+ done = true;
}
index++;
}