From 282d1fbf0cf40fa186868c7120a6b7767519f29e Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sun, 30 Aug 2015 19:03:01 -0400 Subject: [PATCH] fix: CRAY from older saves should set .tmp2 to 0 --- src/client/GameSave.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client/GameSave.cpp b/src/client/GameSave.cpp index ddaea4661..db52c5d40 100644 --- a/src/client/GameSave.cpp +++ b/src/client/GameSave.cpp @@ -1039,7 +1039,10 @@ void GameSave::readOPS(char * data, int dataLength) if (savedVersion < 91) { if (particles[newIndex].tmp2) + { particles[newIndex].ctype |= particles[newIndex].tmp2<<8; + particles[newIndex].tmp2 = 0; + } } } //note: PSv was used in version 77.0 and every version before, add something in PSv too if the element is that old