aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/script_v80he.cpp
diff options
context:
space:
mode:
authorTravis Howell2006-03-25 04:33:33 +0000
committerTravis Howell2006-03-25 04:33:33 +0000
commit03202876cf1bef4d07177c53609f3e698acabbe5 (patch)
treec5033f74431b3b59f98b51bed0e1658805428def /engines/scumm/he/script_v80he.cpp
parent4577ac2f65471631fa96a9dac0acb0ef355b4ad9 (diff)
downloadscummvm-rg350-03202876cf1bef4d07177c53609f3e698acabbe5.tar.gz
scummvm-rg350-03202876cf1bef4d07177c53609f3e698acabbe5.tar.bz2
scummvm-rg350-03202876cf1bef4d07177c53609f3e698acabbe5.zip
Minor cleanup
svn-id: r21446
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)) {