SharedState: Fix asset path priority (rgssad -> "." -> RTPs)
This commit is contained in:
parent
f76ecfdba8
commit
b380a0ebdd
|
@ -118,8 +118,6 @@ struct SharedStatePrivate
|
|||
throw Exception(Exception::MKXPError,
|
||||
"Unable to switch into gameFolder '%s'",
|
||||
config.gameFolder.c_str());
|
||||
|
||||
fileSystem.addPath(".");
|
||||
}
|
||||
|
||||
// FIXME find out correct archive filename
|
||||
|
@ -133,6 +131,8 @@ struct SharedStatePrivate
|
|||
fclose(tmp);
|
||||
}
|
||||
|
||||
fileSystem.addPath(".");
|
||||
|
||||
for (size_t i = 0; i < config.rtps.size(); ++i)
|
||||
fileSystem.addPath(config.rtps[i].c_str());
|
||||
|
||||
|
|
Loading…
Reference in New Issue