Switch inheritance->composition for more C-style actors

This commit is contained in:
LagoLunatic
2026-04-01 23:40:08 -04:00
parent be11af87c5
commit 0342876722
17 changed files with 78 additions and 73 deletions
+1 -2
View File
@@ -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;
}