Fix an OOS issue where, on ownership change, units affected by speed-modifying technologies did not update their speed.
This was SVN commit r17215.
This commit is contained in:
parent
f0deeab899
commit
d3ff090ce7
@ -134,6 +134,7 @@ public:
|
||||
componentManager.SubscribeToMessageType(MT_Update_MotionFormation);
|
||||
componentManager.SubscribeToMessageType(MT_Update_MotionUnit);
|
||||
componentManager.SubscribeToMessageType(MT_PathResult);
|
||||
componentManager.SubscribeToMessageType(MT_OwnershipChanged);
|
||||
componentManager.SubscribeToMessageType(MT_ValueModification);
|
||||
componentManager.SubscribeToMessageType(MT_Deserialized);
|
||||
}
|
||||
@ -427,6 +428,7 @@ public:
|
||||
break;
|
||||
}
|
||||
// fall-through
|
||||
case MT_OwnershipChanged:
|
||||
case MT_Deserialized:
|
||||
{
|
||||
CmpPtr<ICmpValueModificationManager> cmpValueModificationManager(GetSystemEntity());
|
||||
|
Loading…
Reference in New Issue
Block a user