From 0fa200756001078d5222f6e17248d1d67a828c74 Mon Sep 17 00:00:00 2001 From: Loïc Guilloux Date: Sat, 3 Jul 2021 18:26:24 +0200 Subject: Fix cdb3dd049: GOAL chunk was not using the header for loading (#9409) --- src/saveload/goal_sl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/saveload/goal_sl.cpp b/src/saveload/goal_sl.cpp index 68ba3597a..7e2cad491 100644 --- a/src/saveload/goal_sl.cpp +++ b/src/saveload/goal_sl.cpp @@ -42,7 +42,7 @@ static void Load_GOAL() int index; while ((index = SlIterateArray()) != -1) { Goal *s = new (index) Goal(); - SlObject(s, _goals_desc); + SlObject(s, slt); } } -- cgit v1.2.3-70-g09d2