File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
GeneralsMD/Code/GameEngineDevice/Source/W3DDevice/GameLogic
Generals/Code/GameEngineDevice/Source/W3DDevice/GameLogic Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -360,7 +360,9 @@ void W3DGhostObject::snapShot(int playerIndex)
360360 m_parentSnapshots[playerIndex] = snap;
361361 }
362362 else
363- m_parentSnapshots[playerIndex]->update (robj, &m_drawableInfo);
363+ {
364+ snap->update (robj, &m_drawableInfo);
365+ }
364366
365367 // Adding and removing render objects to the scene is expensive
366368 // so only do it for the real player watching the screen. There is
Original file line number Diff line number Diff line change @@ -364,7 +364,9 @@ void W3DGhostObject::snapShot(int playerIndex)
364364 m_parentSnapshots[playerIndex] = snap;
365365 }
366366 else
367- m_parentSnapshots[playerIndex]->update (robj, &m_drawableInfo);
367+ {
368+ snap->update (robj, &m_drawableInfo);
369+ }
368370
369371 // Adding and removing render objects to the scene is expensive
370372 // so only do it for the real player watching the screen. There is
You can’t perform that action at this time.
0 commit comments