View Issue Details

IDProjectCategoryView StatusLast Update
0003448Spring engineLuapublic2013-02-08 10:58
Reporternixtux Assigned ToKloot  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version91.0 
Summary0003448: builders with reclaimSpeed = 0 can still reclaim
DescriptionTrying to set a value of 0 for reclaimspeed does not work ,using Spring.SetUnitBuildSpeed(unitID,180,0,0) it takes the first 2 arguments buildspeed and repair

TagsNo tags attached.
Checked infolog.txt for Errors

Activities

abma

2013-02-07 22:06

administrator   ~0009726

hmm, does this fail?
https://github.com/spring/spring/blob/develop/rts/Lua/LuaSyncedCtrl.cpp#L1502

don't see why else it fails...

nixtux

2013-02-08 07:17

reporter   ~0009727

I did some more testing and SetUnitBuildSpeed is not a fault here, adding reclaimSpeed = 0 to any builders unit defs and they still can reclaim

Issue History

Date Modified Username Field Change
2013-02-07 21:30 nixtux New Issue
2013-02-07 22:06 abma Note Added: 0009726
2013-02-08 07:17 nixtux Note Added: 0009727
2013-02-08 09:45 abma Summary Spring.SetUnitBuildSpeed => builders with reclaimSpeed = 0 can still reclaim
2013-02-08 10:58 Kloot Changeset attached => spring release 09d3cf97
2013-02-08 10:58 Kloot Assigned To => Kloot
2013-02-08 10:58 Kloot Status new => resolved
2013-02-08 10:58 Kloot Resolution open => fixed