diff options
Diffstat (limited to 'src/d/actor/d_a_obj_fan.cpp')
| -rw-r--r-- | src/d/actor/d_a_obj_fan.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/d/actor/d_a_obj_fan.cpp b/src/d/actor/d_a_obj_fan.cpp index 4bd7128eae..61aa595b8c 100644 --- a/src/d/actor/d_a_obj_fan.cpp +++ b/src/d/actor/d_a_obj_fan.cpp @@ -255,21 +255,21 @@ void daObjFan_c::action() { } } -static Vec l_offset_posM[4] = { - {-150.0f, 150.0f, 0.0f}, - {-150.0f, -150.0f, 0.0f}, - {150.0f, 150.0f, 0.0f}, - {150.0f, -150.0f, 0.0f}, -}; - -static Vec l_offset_posL[4] = { - {-300.0f, 300.0f, 0.0f}, - {-300.0f, -300.0f, 0.0f}, - {300.0f, 300.0f, 0.0f}, - {300.0f, -300.0f, 0.0f}, -}; - void daObjFan_c::setCollision() { + static Vec l_offset_posM[4] = { + {-150.0f, 150.0f, 0.0f}, + {-150.0f, -150.0f, 0.0f}, + {150.0f, 150.0f, 0.0f}, + {150.0f, -150.0f, 0.0f}, + }; + + static Vec l_offset_posL[4] = { + {-300.0f, 300.0f, 0.0f}, + {-300.0f, -300.0f, 0.0f}, + {300.0f, 300.0f, 0.0f}, + {300.0f, -300.0f, 0.0f}, + }; + if (field_0xad4 == 0) { return; } |
