#4205: Patch: Stop Auto-repair from repairing unfinished structures -------------------------------------------------+------------------------- Reporter: Kreuvf | Owner: Type: patch (an actual patch, not | Status: new a request for one) | Milestone: unspecified Priority: normal | Version: unspecified Component: Engine: other | Operating System: All/Non-Specific | -------------------------------------------------+------------------------- \ \ Only tested with 3.1.0, but probably also existing in many other branches.
Problem: Auto-repair repairs structures while they are built. When finished, the structure has more bodypoints than its maximum value allows. This results in the first hit to reduce the current bodypoints to the maximum value allowed. This patch add a check for the structure status != SS_BEING_BUILT. Patch tested with 3.1.0. \ \ \ -- Ticket URL: <http://developer.wz2100.net/ticket/4205> Warzone 2100 Trac <http://developer.wz2100.net/> The Warzone 2100 Project ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Warzone2100-project mailing list Warzone2100-project@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/warzone2100-project