File tree 2 files changed +6
-6
lines changed
Generals/Code/GameEngine/Source/GameLogic/Object/Contain
GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Contain
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -324,15 +324,15 @@ void OpenContain::addToContain( Object *rider )
324
324
addOrRemoveObjFromWorld (rider, false );
325
325
}
326
326
327
- // ensure our contents are positions correctly.
328
- redeployOccupants ();
329
-
330
327
// trigger an onContaining event for the object that just "ate" something
331
328
if ( getObject ()->getContain () )
332
329
{
333
330
getObject ()->getContain ()->onContaining ( rider );
334
331
}
335
332
333
+ // ensure our contents are positions correctly.
334
+ redeployOccupants ();
335
+
336
336
// trigger an onContainedBy event for the object that just got "eaten" by us
337
337
rider->onContainedBy ( getObject () );
338
338
Original file line number Diff line number Diff line change @@ -346,15 +346,15 @@ void OpenContain::addToContain( Object *rider )
346
346
addOrRemoveObjFromWorld (rider, false );
347
347
}
348
348
349
- // ensure our contents are positions correctly.
350
- redeployOccupants ();
351
-
352
349
// trigger an onContaining event for the object that just "ate" something
353
350
if ( getObject ()->getContain () )
354
351
{
355
352
getObject ()->getContain ()->onContaining ( rider, wasSelected );
356
353
}
357
354
355
+ // ensure our contents are positions correctly.
356
+ redeployOccupants ();
357
+
358
358
// trigger an onContainedBy event for the object that just got "eaten" by us
359
359
rider->onContainedBy ( getObject () );
360
360
You can’t perform that action at this time.
0 commit comments