summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_windmill.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2026-04-01 23:40:08 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2026-04-01 23:40:08 -0400
commit0342876722f4cee5ed0a7ad1b47286bfbad2759a (patch)
tree740577db72bb093967cb55ac4624a4af7c57ea30 /src/d/actor/d_a_windmill.cpp
parentbe11af87c55c3e5fee0348e4c85bf854340d71c0 (diff)
Switch inheritance->composition for more C-style actors
Diffstat (limited to 'src/d/actor/d_a_windmill.cpp')
-rw-r--r--src/d/actor/d_a_windmill.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/d/actor/d_a_windmill.cpp b/src/d/actor/d_a_windmill.cpp
index 8ac8d0fc..22ac9712 100644
--- a/src/d/actor/d_a_windmill.cpp
+++ b/src/d/actor/d_a_windmill.cpp
@@ -148,8 +148,7 @@ BOOL daWindMill_c::CreateHeap() {
if (m_dzbidx[mType] != -1) {
mpBgW = new dBgW();
if (mpBgW != NULL) {
- cBgD_t* res = (cBgD_t*) dComIfG_getObjectRes(
- m_arcname[mType], m_dzbidx[mType]);
+ cBgD_t* res = (cBgD_t*) dComIfG_getObjectRes(m_arcname[mType], m_dzbidx[mType]);
if (mpBgW->Set(res, cBgW::MOVE_BG_e, &mMtx) == TRUE) {
return FALSE;
}