aboutsummaryrefslogtreecommitdiff
path: root/engines/prince/prince.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2016-07-03 13:49:55 +0200
committerTorbjörn Andersson2016-07-03 22:20:52 +0200
commit2ac0b7d7aee73ff385ca0aca0ae8916f7088f89d (patch)
treeac3456daec52318d035b4d6dc55bbbcaff023744 /engines/prince/prince.cpp
parentea941962d7e2843ab60796aecb68215ed293b636 (diff)
downloadscummvm-rg350-2ac0b7d7aee73ff385ca0aca0ae8916f7088f89d.tar.gz
scummvm-rg350-2ac0b7d7aee73ff385ca0aca0ae8916f7088f89d.tar.bz2
scummvm-rg350-2ac0b7d7aee73ff385ca0aca0ae8916f7088f89d.zip
PRINCE: Correct search path to voices/databank.ptc
At least in my copy, the voices directory is on the same level as the other directories. (Though the whole thing is inside a directory called "data", so maybe that's where that came from?)
Diffstat (limited to 'engines/prince/prince.cpp')
-rw-r--r--engines/prince/prince.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/prince/prince.cpp b/engines/prince/prince.cpp
index a1386c6b16..e220f473c8 100644
--- a/engines/prince/prince.cpp
+++ b/engines/prince/prince.cpp
@@ -226,8 +226,8 @@ void PrinceEngine::init() {
error("Can't open all/databank.ptc");
PtcArchive *voices = new PtcArchive();
- if (!voices->open("data/voices/databank.ptc"))
- error("Can't open data/voices/databank.ptc");
+ if (!voices->open("voices/databank.ptc"))
+ error("Can't open voices/databank.ptc");
PtcArchive *sound = new PtcArchive();
if (!sound->open("sound/databank.ptc"))