aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/drascula/drascula.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp
index 8087cae148..a0e927ad28 100644
--- a/engines/drascula/drascula.cpp
+++ b/engines/drascula/drascula.cpp
@@ -2038,7 +2038,7 @@ void DrasculaEngine::playSound(const char *file) {
ctvd_output(sku);
}
-bool DrasculaEngine::animate(const char *animation, int FPS) {
+bool DrasculaEngine::animate(const char *animationFile, int FPS) {
Common::File FileIn;
unsigned j;
int NFrames = 1;
@@ -2048,10 +2048,10 @@ bool DrasculaEngine::animate(const char *animation, int FPS) {
AuxBuffLast = (byte *)malloc(65000);
AuxBuffDes = (byte *)malloc(65000);
- FileIn.open(animation);
+ FileIn.open(animationFile);
if (!FileIn.isOpen()) {
- error("No encuentro un file de animation.");
+ error("Animation file %s not found", animationFile);
}
FileIn.read(&NFrames, sizeof(NFrames));