From 15d046dc644cc1661483cd68bcc8de8888a17f7a Mon Sep 17 00:00:00 2001 From: Sergey Semushin Date: Fri, 12 Jul 2019 23:28:14 +0300 Subject: [PATCH] Fix typo in SaveObject. --- Source/loadsave.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/loadsave.cpp b/Source/loadsave.cpp index ea7aa3f71..07a04e31f 100644 --- a/Source/loadsave.cpp +++ b/Source/loadsave.cpp @@ -1300,7 +1300,7 @@ void SaveMissile(int i) void SaveObject(int i) { ObjectStruct *pObject = &object[i]; - CopyInt(tbuff, &pObject->_otype); + CopyInt(&pObject->_otype, tbuff); CopyInt(&pObject->_ox, tbuff); CopyInt(&pObject->_oy, tbuff); CopyInt(&pObject->_oLight, tbuff);