summaryrefslogtreecommitdiff
path: root/src/client/GameSave.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/GameSave.cpp')
-rw-r--r--src/client/GameSave.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/GameSave.cpp b/src/client/GameSave.cpp
index 39b2e34..1243ea0 100644
--- a/src/client/GameSave.cpp
+++ b/src/client/GameSave.cpp
@@ -1665,10 +1665,10 @@ char * GameSave::serialiseOPS(int & dataLength)
{
fieldDesc |= 1 << 10;
partsData[partsDataLen++] = particles[i].tmp2;
- if(partsptr[i].tmp2 > 255)
+ if(particles[i].tmp2 > 255)
{
fieldDesc |= 1 << 11;
- partsData[partsDataLen++] = partsptr[i].tmp2 >> 8;
+ partsData[partsDataLen++] = particles[i].tmp2 >> 8;
}
}