summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_e_gi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/actor/d_a_e_gi.cpp')
-rw-r--r--src/d/actor/d_a_e_gi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/actor/d_a_e_gi.cpp b/src/d/actor/d_a_e_gi.cpp
index cfdcd94442..387e8619b3 100644
--- a/src/d/actor/d_a_e_gi.cpp
+++ b/src/d/actor/d_a_e_gi.cpp
@@ -816,7 +816,7 @@ void daE_GI_c::action() {
if (attention_info.flags & fopAc_AttnFlag_BATTLE_e) {
dBgS_LinChk linecheck;
- linecheck.Set(&dComIfGp_getCamera(0)->lookat.eye, &attention_info.position, this);
+ linecheck.Set(&dComIfGp_getCamera(0)->view.lookat.eye, &attention_info.position, this);
if (dComIfG_Bgsp().LineCross(&linecheck)) {
attention_info.flags &= ~fopAc_AttnFlag_BATTLE_e;
}