From d556b7e5c3e870812a9ed6ee404a6e2a136bb50f Mon Sep 17 00:00:00 2001 From: Nikolai Prigodich Date: Sun, 5 Sep 2021 21:47:50 +0200 Subject: [PATCH] Add missing iShipPriorityExecute assignment --- src/libs/ship/src/ship.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/ship/src/ship.cpp b/src/libs/ship/src/ship.cpp index 6e2f9af95..804bdf6a6 100644 --- a/src/libs/ship/src/ship.cpp +++ b/src/libs/ship/src/ship.cpp @@ -1955,7 +1955,7 @@ void SHIP::Load(CSaveLoad *pSL) ExecuteLayer = pSL->LoadDword(); const std::string sTmp = pSL->LoadString(); strcpy_s(cShipIniName, sTmp.c_str()); - pSL->LoadLong(); + iShipPriorityExecute = pSL->LoadLong(); fGravity = pSL->LoadFloat(); fSailState = pSL->LoadFloat();