aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/scumm/he/animation_he.cpp6
-rw-r--r--graphics/video/video_player.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/scumm/he/animation_he.cpp b/engines/scumm/he/animation_he.cpp
index 1915a05a94..4a64f16f42 100644
--- a/engines/scumm/he/animation_he.cpp
+++ b/engines/scumm/he/animation_he.cpp
@@ -40,13 +40,13 @@ MoviePlayer::MoviePlayer(ScummEngine_v90he *vm, Audio::Mixer *mixer)
}
int MoviePlayer::getImageNum() {
- if (!videoIsLoaded())
+ if (!isVideoLoaded())
return 0;
return _wizResNum;
}
int MoviePlayer::load(const char *filename, int flags, int image) {
- if (videoIsLoaded()) {
+ if (isVideoLoaded()) {
closeFile();
}
@@ -67,7 +67,7 @@ int MoviePlayer::load(const char *filename, int flags, int image) {
}
void MoviePlayer::handleNextFrame() {
- if (!videoIsLoaded()) {
+ if (!isVideoLoaded()) {
return;
}
diff --git a/graphics/video/video_player.h b/graphics/video/video_player.h
index 18483043a7..ea9122499f 100644
--- a/graphics/video/video_player.h
+++ b/graphics/video/video_player.h
@@ -107,7 +107,7 @@ public:
/**
* Returns if a video file is loaded or not
*/
- bool videoIsLoaded() { return (_fileStream != NULL); }
+ bool isVideoLoaded() { return (_fileStream != NULL); }
/**
* Set RGB palette, based on current frame