Changes between Initial Version and Version 1 of Ticket #1365, comment 4
- Timestamp:
- Jul 7, 2012, 3:52:00 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1365, comment 4
initial v1 10 10 11 11 I haven't taken an in-depth look at how exactly loading differs from starting a new match, but I did notice that it will enter the 'if (m_AlphaMin > 0.)' conditional exactly twice as often. My hypothesis is that normal initialization is being done, followed by the usual !OwnershipChanged message, and then everything is reinitialized, clobbering the m_Color values and never calling !SetSelectionHighlight() again. I believe the Atlas issue is similar. 12 13 Edit: CCmpSelectable::Deserialize() re-runs Init(), which is responsible for the second run during loading. If Init must be run there, but the !OwnershipChanged messages are received much earlier than that, it seems there's a load order problem.