adityaravishankar / command-and-conquer

Command & Conquer in HTML5/Javascript
777 stars 170 forks source link

Hovering over ememy units/buildings reveals location through shroud #32

Closed joeyw closed 12 years ago

joeyw commented 12 years ago

Select and attack mouse cursors still work through hidden shroud.

shroud exploit shroud exploit

Korlus commented 12 years ago

The issue appears to be that it doesn't track what is covered by fog of war, and what is not. For instance - if you hover the mouse over impassible terrain, it will show it as impassible, rather than giving you the default cursor.

I tested this in both Opera and Firefox.

adityaravishankar commented 12 years ago

Yep... Should be a relatively small patch.... Cooler bit will be limiting pathfinding under fog

adityaravishankar commented 12 years ago

Patched. Should be out in next release