aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
diff options
context:
space:
mode:
authorMax Horn2006-03-28 09:42:54 +0000
committerMax Horn2006-03-28 09:42:54 +0000
commit9f93e5bb81a54a98eb7957209662f152e2962679 (patch)
treeffd439f7aa7347bd7ba806c2131be458a7112ef1 /engines/saga
parent950c3451a2dbadffa6437e98a20eb3a4163216e2 (diff)
downloadscummvm-rg350-9f93e5bb81a54a98eb7957209662f152e2962679.tar.gz
scummvm-rg350-9f93e5bb81a54a98eb7957209662f152e2962679.tar.bz2
scummvm-rg350-9f93e5bb81a54a98eb7957209662f152e2962679.zip
Renamed various container isEmpty() methods to empty() to match STL conventions
svn-id: r21472
Diffstat (limited to 'engines/saga')
-rw-r--r--engines/saga/game.cpp2
-rw-r--r--engines/saga/sthread.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/saga/game.cpp b/engines/saga/game.cpp
index 3ecff99410..b05dea094a 100644
--- a/engines/saga/game.cpp
+++ b/engines/saga/game.cpp
@@ -1599,7 +1599,7 @@ static int detectGame(const FSList *fslist, Common::Language language, Common::P
}
}
- if (!filesMD5.isEmpty() && (matchedCount == 0)) {
+ if (!filesMD5.empty() && (matchedCount == 0)) {
printf("MD5s of your game version are unknown. Please, report following data to\n");
printf("ScummVM team along with your game name and version:\n");
diff --git a/engines/saga/sthread.cpp b/engines/saga/sthread.cpp
index 0a1a260cef..a186a61a8b 100644
--- a/engines/saga/sthread.cpp
+++ b/engines/saga/sthread.cpp
@@ -190,7 +190,7 @@ void Script::abortAllThreads(void) {
void Script::completeThread(void) {
int limit = (_vm->getGameType() == GType_IHNM) ? 100 : 40;
- for (int i = 0; i < limit && !_threadList.isEmpty(); i++)
+ for (int i = 0; i < limit && !_threadList.empty(); i++)
executeThreads(0);
}