#604: Trucks don't repair mortar pits -------------------------------------+-------------------------------------- Reporter: Samowar | Type: defect Status: new | Priority: major Milestone: 2.2.1 | Component: Engine: Resource Management Version: svn/trunk | Keywords: repair Operating_system: All/Non-Specific | Blockedby: Blocking: | -------------------------------------+--------------------------------------
Comment(by Samowar): OK, after peeking deep into the code I finally got a glimpse of what this particular part of it does - and I think I got the problem. Per removed the truncation error and replaced it by the requirement to show no progress until repairFraction >= 1 - which happens after the time it would have taken to repair the structure from scratch. Even worse - interrupt the droid and all progress is lost. I fixed it so it works for me now. I also added a verbose comment of what I think the code does. I hope it corresponds with what you intend the repair code to do. -- Ticket URL: <http://developer.wz2100.net/ticket/604#comment:5> Warzone 2100 Trac <http://developer.wz2100.net/> The Warzone 2100 Resurrection Project _______________________________________________ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev