aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/script_v80he.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/he/script_v80he.cpp')
-rw-r--r--engines/scumm/he/script_v80he.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/engines/scumm/he/script_v80he.cpp b/engines/scumm/he/script_v80he.cpp
index c4de1bc7b6..61307c9bd7 100644
--- a/engines/scumm/he/script_v80he.cpp
+++ b/engines/scumm/he/script_v80he.cpp
@@ -399,14 +399,9 @@ void ScummEngine_v80he::o80_createSound() {
void ScummEngine_v80he::o80_getFileSize() {
byte filename[256];
- uint i;
copyScriptString(filename, sizeof(filename));
-
- for (i = 0; i < strlen((const char *)filename); i++) {
- if (filename[i] == '\\')
- filename[i] = '/';
- }
+ convertFilePath(filename);
Common::File f;
if (!f.open((char *)filename)) {