stolenrays
Deity
- Joined
- Aug 2, 2009
- Messages
- 2,061
Hello to everyone!
This is my first absolute post in civfanatics and of course it is related to spies...
I am relative new to civ4, but one of my preferred way to play it is through the concept expressed in this post:
http://www.civfanatics.com/civ4/strategy/suleiman_espionage.php
.. and of course with this mod!
While playing I have noticed a tedious issue with the 'Gather Intel' automation which provoke a loss of focus when selecting a unit if:
- At least one spy is currently in 'Gather Intel'
- All other units have finished their actions
- You want to select a fortified unit
Then, after 1 second the selected unit is automatically deselected.
I did not see any post complaining about this in the forum, so I was wandering if someone else is experiencing this anomaly.
After a comparison between the Super Spies 1.8 sources and the original Advanced Automation patch (I assume) provided by Afforess at this link, I have managed to come up with these (possibly) missing lines of codes:
Code:--- CvSelectionGroupOriginal.cpp 2012-08-19 03:33:59.000000000 +0200 +++ CvSelectionGroup.cpp 2013-04-30 12:09:33.048757321 +0200 @@ -1178,7 +1178,8 @@ /* Advanced Automations */ /************************************************************************************************/ case MISSION_ESPIONAGE_SLEEP: - + bDelete = true; + break; /************************************************************************************************/ /* Afforess END */ /************************************************************************************************/
I try to recompile the DLL introducing the following modification and eventually this anomaly was not anymore present.
In attachment I have provided the modified DLL, in case it is helpfull for someone else.
Thanks again for this wonderfull mod!
Thanks! Great work. I will put it in a future merge.