From 834116c5134e22284575b1d19ec00220fb36dc0e Mon Sep 17 00:00:00 2001 From: JeffR Date: Sat, 4 Jun 2022 21:53:12 -0500 Subject: [PATCH] Uncomments networking lines that ensure client has the particle's textures --- Engine/source/T3D/fx/particle.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Engine/source/T3D/fx/particle.cpp b/Engine/source/T3D/fx/particle.cpp index 090a2f119..f1ed926fd 100644 --- a/Engine/source/T3D/fx/particle.cpp +++ b/Engine/source/T3D/fx/particle.cpp @@ -293,7 +293,7 @@ void ParticleData::packData(BitStream* stream) stream->writeFloat( times[i], 8); } - //PACKDATA_ASSET(Texture); + PACKDATA_ASSET(Texture); for (i = 0; i < 4; i++) mathWrite(*stream, texCoords[i]); @@ -307,7 +307,7 @@ void ParticleData::packData(BitStream* stream) stream->writeInt(framesPerSec, 8); } - //PACKDATA_ASSET(TextureExt); + PACKDATA_ASSET(TextureExt); stream->writeFlag(constrain_pos); stream->writeFloat(start_angle/360.0f, 11); @@ -378,7 +378,7 @@ void ParticleData::unpackData(BitStream* stream) times[i] = stream->readFloat(8); } - //UNPACKDATA_ASSET(Texture); + UNPACKDATA_ASSET(Texture); for (i = 0; i < 4; i++) mathRead(*stream, &texCoords[i]); @@ -391,7 +391,7 @@ void ParticleData::unpackData(BitStream* stream) framesPerSec = stream->readInt(8); } - //UNPACKDATA_ASSET(Texture); + UNPACKDATA_ASSET(TextureExt); constrain_pos = stream->readFlag(); start_angle = 360.0f*stream->readFloat(11);