freebsd-ports/games/spring/files/patch-AI-Skirmish-KAIK-DGunController.cpp
Dmitry Marakasov da9662ef60 - Update to 94.1
- Unbreak
- Support staging
- Use new LIB_DEPENDS syntax
2013-12-16 11:22:24 +00:00

11 lines
523 B
C++

--- AI/Skirmish/KAIK/DGunController.cpp.orig 2013-03-26 03:58:45.000000000 +0400
+++ AI/Skirmish/KAIK/DGunController.cpp 2013-11-11 03:17:24.007772549 +0400
@@ -166,7 +166,7 @@
if (canDGun) {
IssueOrder(dgunPos, CMD_DGUN, 0);
} else {
- bool bDanger = ai->tm->ThreatAtThisPoint(commanderPos/*curTargetPos*/) > ai->tm->GetAverageThreat();
+ bool bDanger = ai->thm->ThreatAtThisPoint(commanderPos/*curTargetPos*/) > ai->thm->GetAverageThreat();
if (bDanger) {
state.Reset(currentFrame, true);