Only make AI avoid damaged dead mines and dangerously smoking barrels once the attack is finished.
Make AI be less scared by crates. Actually, now it starts using switcher just to pick a crate up.
yay, finally osx (and likely windows) fullscreen switch works like on linux! ALL textures had to be destroyed and recreated only after the new window got created. In other news, the new window must be cleaned with glClear to skip a first frame of garbage and AddProgress is only called the first time.
Make AI use switcher when:
- it is immediately available
- switching gains +20 points score turn
- Move actions stack out of Walk procedure
- Move test for available weapons into Walk procedure
This should have been added before. add log spew if this ever happens. We should hopefully identify the various circumstances and make sure it is all cleaned up so the list becomes unnecessary.
Prefix followed by prefix issue solved. Also some slight improvements.
Fix for
issue #291 - this check should probably be in ApplyDamage though