mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-01 23:18:44 +00:00
XEEN: Fix Town Portal town selection dialog
This commit is contained in:
parent
d848c9a414
commit
6a61468d0a
@ -889,9 +889,9 @@ int TownPortal::execute() {
|
|||||||
|
|
||||||
// Build up a lsit of the names of the towns on the current side of Xeen
|
// Build up a lsit of the names of the towns on the current side of Xeen
|
||||||
for (int idx = 0; idx < 5; ++idx) {
|
for (int idx = 0; idx < 5; ++idx) {
|
||||||
File f(Common::String::format("%s%04d.txt",
|
Common::String txtName = Common::String::format("%s%04d.txt", map._sideTownPortal ? "dark" : "xeen",
|
||||||
map._sideTownPortal ? "dark" : "xeen",
|
Res.TOWN_MAP_NUMBERS[map._sideTownPortal][idx]);
|
||||||
Res.TOWN_MAP_NUMBERS[map._sideTownPortal][idx]));
|
File f(txtName, 1);
|
||||||
townNames[idx] = f.readString();
|
townNames[idx] = f.readString();
|
||||||
f.close();
|
f.close();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user