spring: develop 4cf97866 | [ Diff ] [ Back to Repository ] | |||
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
kloot | kloot | develop | 2010-12-11 00:03:26 | develop b73c5a5d |
Changeset | Revert "Unrevert e1ec8a17efb3d2971c2fd8ae8b393740335e3abe, infinite recursion fixed" * SlowUpdate's generally contain logic that is *expected* by other parts of the simulation to execute only every 16 frames (for one of many examples where breaking this assumption can bite you, see the currentFuel calculations in CAirMoveType::SlowUpdate) * it turns the engine into an unmaintainable spaghetti mess (as this case should have made clear already) * adding nondescript variables like "lastPC" is NEVER a structural fix for a design problem * INBUILDSTANCE is set by a script's StartBuilding/StopBuilding (which signify start/end of construction) and elsewhere when the script wants to allow/block current construction/terraforming/etc updates, it is NOT intended to fast-forward a builder's queue |
|||
mod - rts/Sim/Units/COB/UnitScript.cpp | [ Diff ] [ File ] | |||
mod - rts/Sim/Units/COB/UnitScript.h | [ Diff ] [ File ] |