summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_windmill.cpp
diff options
context:
space:
mode:
author123456789758 <205478182+123456789758@users.noreply.github.com>2026-06-16 14:55:36 -0400
committerGitHub <noreply@github.com>2026-06-16 14:55:36 -0400
commitd61a31e7ab30ef357060124bae1830939106104b (patch)
tree409e8cd3e8f81a3cd516470a88b4a237636e2bd5 /src/d/actor/d_a_windmill.cpp
parentf2d931cd81b76b5e7ab29f6b53d172040d088a23 (diff)
Use joint enums in several different places (#981)
Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
Diffstat (limited to 'src/d/actor/d_a_windmill.cpp')
-rw-r--r--src/d/actor/d_a_windmill.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/actor/d_a_windmill.cpp b/src/d/actor/d_a_windmill.cpp
index 261a42c1..7a6a9361 100644
--- a/src/d/actor/d_a_windmill.cpp
+++ b/src/d/actor/d_a_windmill.cpp
@@ -208,7 +208,7 @@ void daWindMill_c::CreateInit() {
set_mtx();
for (u16 i = 0; i < mpModel->getModelData()->getJointNum(); i++) {
- if (i == 2) {
+ if (i == HPU1_JNT_POLYSURFACE2007_e) {
mpModel->getModelData()->getJointNodePointer(i)->setCallBack(nodeCallBack);
break;
}