2019-12-08 14:24 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0005067Spring engineGeneralpublic2016-02-09 00:58
Assigned ToKloot 
PrioritynormalSeverityminorReproducibilityhave not tried
Product Version 
Target VersionFixed in Version100.0+git 
Summary0005067: spawned buildings have their decals with a small offset
DescriptionWhen buildings are spawned (through /give and probably CreateUnit) they aren't snapped to grid, but their decals are.

(solution shouldn't be snapping the building to grid)
Steps To Reproducestart BA
/give corpun a few times in different places
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files




Kloot (developer)

Last edited: 2016-02-08 19:44

View 2 revisions

in fact both are snapped, but to different grids


hokomoko (developer)

Last edited: 2016-02-08 19:53

View 2 revisions

Are you sure buildings are snapped when CreateUnit or /give is used?


Floris (reporter)

v100 has the same issue btw


Kloot (developer)

Last edited: 2016-02-08 20:59

View 2 revisions

"Are you sure buildings are snapped when CreateUnit or /give is used?"

misread the code, they aren't (which is the problem, decals can only be placed at multiples of SQUARE_SIZE)


hokomoko (developer)

Last edited: 2016-02-08 21:12

View 2 revisions

IMO the solution shouldn't be snapping the building to grid, as it will break a few things such as morphs from mobile units to buildings.

I think we should delay solving this for after 101.


Kloot (developer)

worked around in 985b3706, will have to suffice for a while

-Issue History
Date Modified Username Field Change
2016-02-08 18:57 Floris New Issue
2016-02-08 19:18 hokomoko Summary when using '/give all' decals get an offset => spawned buildings have their decals with a small offset
2016-02-08 19:18 hokomoko Description Updated View Revisions
2016-02-08 19:18 hokomoko Steps to Reproduce Updated View Revisions
2016-02-08 19:40 Kloot Note Added: 0015678
2016-02-08 19:44 Kloot Note Edited: 0015678 View Revisions
2016-02-08 19:53 hokomoko Note Added: 0015682
2016-02-08 19:53 hokomoko Note Edited: 0015682 View Revisions
2016-02-08 20:04 Floris Note Added: 0015685
2016-02-08 20:59 Kloot Note Added: 0015687
2016-02-08 20:59 Kloot Note Edited: 0015687 View Revisions
2016-02-08 21:05 hokomoko Note Added: 0015688
2016-02-08 21:12 hokomoko Note Edited: 0015688 View Revisions
2016-02-09 00:58 Kloot Note Added: 0015699
2016-02-09 00:58 Kloot Status new => resolved
2016-02-09 00:58 Kloot Fixed in Version => 100.0+git
2016-02-09 00:58 Kloot Resolution open => fixed
2016-02-09 00:58 Kloot Assigned To => Kloot
+Issue History