mirror of https://github.com/OpenTTD/OpenTTD
Fix cdb3dd049: GOAL chunk was not using the header for loading (#9409)
parent
d38ad7d80c
commit
0fa2007560
|
@ -42,7 +42,7 @@ static void Load_GOAL()
|
||||||
int index;
|
int index;
|
||||||
while ((index = SlIterateArray()) != -1) {
|
while ((index = SlIterateArray()) != -1) {
|
||||||
Goal *s = new (index) Goal();
|
Goal *s = new (index) Goal();
|
||||||
SlObject(s, _goals_desc);
|
SlObject(s, slt);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue