summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_coach_fire.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/actor/d_a_coach_fire.cpp')
-rw-r--r--src/d/actor/d_a_coach_fire.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/actor/d_a_coach_fire.cpp b/src/d/actor/d_a_coach_fire.cpp
index 071b760468..85804887b2 100644
--- a/src/d/actor/d_a_coach_fire.cpp
+++ b/src/d/actor/d_a_coach_fire.cpp
@@ -121,9 +121,9 @@ int daCoachFire_c::execute() {
setNoHitTimer();
}
if (coach != NULL && coach->checkCoachBlazing()) {
- dAttention_c& attn = dComIfGp_getAttention();
- if (attn.LockonTruth()) {
- if (attn.LockonTarget(0) != this) {
+ dAttention_c* attn = dComIfGp_getAttention();
+ if (attn->LockonTruth()) {
+ if (attn->LockonTarget(0) != this) {
if (coach->deleteFireArrowFromList(fopAcM_GetID(this)) != NULL) {
fopAcM_delete(this);
}