aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula
diff options
context:
space:
mode:
authorFilippos Karapetis2008-05-30 07:26:55 +0000
committerFilippos Karapetis2008-05-30 07:26:55 +0000
commit1ca29c1796b0656e640bfd8f0d0dca3618c7e9b2 (patch)
tree815400453f211867e2de553f495aafc4553c4ff9 /engines/drascula
parent4cc64e2b638906b70b55e4a6dd464525b63062cd (diff)
downloadscummvm-rg350-1ca29c1796b0656e640bfd8f0d0dca3618c7e9b2.tar.gz
scummvm-rg350-1ca29c1796b0656e640bfd8f0d0dca3618c7e9b2.tar.bz2
scummvm-rg350-1ca29c1796b0656e640bfd8f0d0dca3618c7e9b2.zip
Some cleanup, translated an error message
svn-id: r32378
Diffstat (limited to 'engines/drascula')
-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));