File tree Expand file tree Collapse file tree 2 files changed +8
-12
lines changed
GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Update
Generals/Code/GameEngine/Source/GameLogic/Object/Update Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -1321,7 +1321,6 @@ void ParticleUplinkCannonUpdate::crc( Xfer *xfer )
13211321 * Version Info:
13221322 * 1: Initial version
13231323 * 2: Serialize decay frames
1324- * 3: TheSuperHackers @tweak Serialize manual target mode
13251324 * 4: TheSuperHackers @tweak Serialize orbit to target laser radius
13261325 */
13271326// ------------------------------------------------------------------------------------------------
@@ -1330,7 +1329,7 @@ void ParticleUplinkCannonUpdate::xfer( Xfer *xfer )
13301329 const ParticleUplinkCannonUpdateModuleData *data = getParticleUplinkCannonUpdateModuleData ();
13311330
13321331 // version
1333- #if RETAIL_COMPATIBLE_CRC || RETAIL_COMPATIBLE_XFER_SAVE
1332+ #if RETAIL_COMPATIBLE_XFER_SAVE
13341333 const XferVersion currentVersion = 2 ;
13351334#else
13361335 const XferVersion currentVersion = 4 ;
@@ -1431,15 +1430,10 @@ void ParticleUplinkCannonUpdate::xfer( Xfer *xfer )
14311430 }
14321431
14331432 // the time of last manual target click
1434- xfer->xferUnsignedInt ( &m_lastDrivingClickFrame );
1435- xfer->xferUnsignedInt ( &m_2ndLastDrivingClickFrame );
1433+ xfer->xferUnsignedInt ( & m_lastDrivingClickFrame );
14361434
1437- #if !RETAIL_COMPATIBLE_CRC && !RETAIL_COMPATIBLE_XFER_SAVE
1438- if ( version >= 3 )
1439- {
1440- xfer->xferBool ( &m_manualTargetMode );
1441- }
1442- #endif
1435+ // the time of the 2nd last manual target click
1436+ xfer->xferUnsignedInt ( &m_2ndLastDrivingClickFrame );
14431437
14441438 if ( version >= 4 )
14451439 {
Original file line number Diff line number Diff line change @@ -1414,7 +1414,7 @@ void ParticleUplinkCannonUpdate::xfer( Xfer *xfer )
14141414 const ParticleUplinkCannonUpdateModuleData *data = getParticleUplinkCannonUpdateModuleData ();
14151415
14161416 // version
1417- #if RETAIL_COMPATIBLE_CRC || RETAIL_COMPATIBLE_XFER_SAVE
1417+ #if RETAIL_COMPATIBLE_XFER_SAVE
14181418 const XferVersion currentVersion = 3 ;
14191419#else
14201420 const XferVersion currentVersion = 4 ;
@@ -1515,7 +1515,9 @@ void ParticleUplinkCannonUpdate::xfer( Xfer *xfer )
15151515 }
15161516
15171517 // the time of last manual target click
1518- xfer->xferUnsignedInt ( &m_lastDrivingClickFrame );
1518+ xfer->xferUnsignedInt ( & m_lastDrivingClickFrame );
1519+
1520+ // the time of the 2nd last manual target click
15191521 xfer->xferUnsignedInt ( &m_2ndLastDrivingClickFrame );
15201522
15211523 if ( version >= 3 )
You can’t perform that action at this time.
0 commit comments