Changes between Version 3 and Version 4 of Ticket #1365, comment 8


Ignore:
Timestamp:
Jul 28, 2012, 3:51:15 PM (12 years ago)
Author:
Doménique

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1365, comment 8

    v3 v4  
    66
    77I assume the solution is in this file (http://trac.wildfiregames.com/changeset/12148/ps/trunk/source/simulation2/components/CCmpSelectable.cpp), although when updating the overlay it already appears to check whether the entity is in the world. I have made a patch that resolves the problem at render time, but I feel this is inefficient. Someone with a better grasp of the codebase can probably solve this with the PositionChanged message handling.
     8
     9Here's a [https://www.dropbox.com/s/tp9zxmj9zivknp8/hero_ringtest.zip link to an ZIP-file] with a test map with hero's and some entities that allow to garrison behaviour.