Page MenuHomeWildfire Games

Incorrect cursor when fogging during attack
ClosedPublic

Authored by bb on Jul 21 2017, 10:07 PM.

Details

Summary

As result of rP19694 when hovering a wall in FoW gives the capture cursor, and ordering results in idle units at the wall.
This is due to a missing mirage component (identity) so the classesList is empty, thus giving restricted classes on mirages doesn't help us.

Test Plan

Try capturing a miraged wall, and see that you fail now.

Diff Detail

Repository
rP 0 A.D. Public Repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

bb created this revision.Jul 21 2017, 10:07 PM
Vulcan added a subscriber: Vulcan.Jul 21 2017, 11:38 PM

Build is green

Updating workspaces.
Build (release)...
Build (debug)...
Running release tests...
Running cxxtest tests (306 tests)..................................................................................................................................................................................................................................................................................................................OK!
Running debug tests...
Running cxxtest tests (306 tests)..................................................................................................................................................................................................................................................................................................................OK!
Checking XML files...

http://jw:8080/job/phabricator/1757/ for more details.

fatherbushido resigned from this revision.Aug 2 2017, 9:46 PM
mimo accepted this revision.Aug 16 2017, 1:37 PM

Patch is good, and works as expected.

binaries/data/mods/public/simulation/components/Mirage.js
68 ↗(On Diff #2929)

move the block before the foundation comment, or remove that and following comments.

This revision is now accepted and ready to land.Aug 16 2017, 1:37 PM
This revision was automatically updated to reflect the committed changes.
bb added a comment.Aug 16 2017, 8:05 PM

thx for the review, the comments can be removed imo, but there are more of them and they should be removed all at once so leaving the comment for now.