diff options
author | Vincent Hamm | 2002-03-08 21:40:50 +0000 |
---|---|---|
committer | Vincent Hamm | 2002-03-08 21:40:50 +0000 |
commit | 8a31ebce903372f9439d2443e01d768cd18a0804 (patch) | |
tree | 81dd3016e5cdea77fbdea340a6ba265c6e784bda /insane.cpp | |
parent | 66b8932d83fca91bebdef60498492d20f0d0c9cc (diff) | |
download | scummvm-rg350-8a31ebce903372f9439d2443e01d768cd18a0804.tar.gz scummvm-rg350-8a31ebce903372f9439d2443e01d768cd18a0804.tar.bz2 scummvm-rg350-8a31ebce903372f9439d2443e01d768cd18a0804.zip |
Fixed an smush directory error
svn-id: r3691
Diffstat (limited to 'insane.cpp')
-rw-r--r-- | insane.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/insane.cpp b/insane.cpp index 45da4aae50..90efd6c339 100644 --- a/insane.cpp +++ b/insane.cpp @@ -76,10 +76,15 @@ void SmushPlayer::openFile(byte* fileName) { byte buf[100]; - sprintf((char*)buf,"%s%s%s",(char*)sm->_gameDataPath,(char*)sm->_videoPath,(char*)fileName); - + sprintf((char*)buf,"%sVIDEO/%s",(char*)sm->_gameDataPath,(char*)fileName); _in = fopen((char*)buf, "rb"); + if(_in==NULL){ + sprintf((char*)buf,"%svideo/%s",(char*)sm->_gameDataPath,(char*)fileName); + _in = fopen((char*)buf, "rb"); + + } + } |