ViterboKnight
King
- Joined
- Feb 6, 2006
- Messages
- 796
When checking if an event can be triggered, and looking for the unit that can trigger the event, the method PickTriggerUnit (in CvPlayer.cpp) has an error; it loops all the units using the LoopUnit variable, but when returning the value it uses another variable, that is never used and is always null. As a conclusion, the event is never triggered.
-----------------
edit: thread in the SDK forum:
http://forums.civfanatics.com/showthread.php?t=279976
-----------------
edit: thread in the SDK forum:
http://forums.civfanatics.com/showthread.php?t=279976