mirror of
https://github.com/alexbatalov/fallout1-ce.git
synced 2024-07-05 12:39:06 +00:00
parent
716ee7a3b8
commit
d2bfd8012b
|
@ -1587,21 +1587,16 @@ static int PrintAMelevList(int a1)
|
|||
}
|
||||
}
|
||||
|
||||
for (int map = 0; map < 5; map++) {
|
||||
if (map == amcty_indx) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (get_map_idx_same(amcty_indx, map) == -1) {
|
||||
continue;
|
||||
}
|
||||
|
||||
for (int elevation = 0; elevation < ELEVATION_COUNT; elevation++) {
|
||||
if (automapHeader->offsets[map][elevation] > 0) {
|
||||
sortlist[line].name = map_get_elev_idx(map, elevation);
|
||||
sortlist[line].value = elevation;
|
||||
sortlist[line].field_6 = map;
|
||||
line++;
|
||||
for (int index = 0; index < 5; index++) {
|
||||
int map = get_map_idx_same(amcty_indx, index);
|
||||
if (map != -1) {
|
||||
for (int elevation = 0; elevation < ELEVATION_COUNT; elevation++) {
|
||||
if (automapHeader->offsets[map][elevation] > 0) {
|
||||
sortlist[line].name = map_get_elev_idx(map, elevation);
|
||||
sortlist[line].value = elevation;
|
||||
sortlist[line].field_6 = map;
|
||||
line++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user