@@ -1049,6 +1049,10 @@ W3DModelDrawModuleData::W3DModelDrawModuleData() :
10491049
10501050 m_receivesDynamicLights = TRUE ;
10511051
1052+ m_ignoreAnimScaling = FALSE ;
1053+ m_ignoreRotation = FALSE ;
1054+ m_showForOwnerOnly = FALSE ;
1055+
10521056 // m_ignoreConditionStates defaults to all zero, which is what we want
10531057}
10541058
@@ -1438,7 +1442,6 @@ void W3DModelDrawModuleData::parseConditionState(INI* ini, void *instance, void
14381442 { " AltTurretArtAngle" , INI ::parseAngleReal, nullptr , offsetof (ModelConditionInfo, m_turrets[1 ].m_turretArtAngle ) },
14391443 { " AltTurretPitch" , parseBoneNameKey, nullptr , offsetof (ModelConditionInfo, m_turrets[1 ].m_turretPitchNameKey ) },
14401444 { " AltTurretArtPitch" , INI ::parseAngleReal, nullptr , offsetof (ModelConditionInfo, m_turrets[1 ].m_turretArtPitch ) },
1441- { " ShowSubObject" , parseShowHideSubObject, (void *)nullptr , offsetof (ModelConditionInfo, m_hideShowVec) },
14421445 { " Turret1ArtAngle" , INI ::parseAngleReal, nullptr , offsetof (ModelConditionInfo, m_turrets[0 ].m_turretArtAngle ) },
14431446 { " Turret1Pitch" , parseBoneNameKey, nullptr , offsetof (ModelConditionInfo, m_turrets[0 ].m_turretPitchNameKey ) },
14441447 { " Turret1ArtPitch" , INI ::parseAngleReal, nullptr , offsetof (ModelConditionInfo, m_turrets[0 ].m_turretArtPitch ) },
@@ -1470,7 +1473,7 @@ void W3DModelDrawModuleData::parseConditionState(INI* ini, void *instance, void
14701473 { " Turret8ArtAngle" , INI ::parseAngleReal, nullptr , offsetof (ModelConditionInfo, m_turrets[7 ].m_turretArtAngle ) },
14711474 { " Turret8Pitch" , parseBoneNameKey, nullptr , offsetof (ModelConditionInfo, m_turrets[7 ].m_turretPitchNameKey ) },
14721475 { " Turret8ArtPitch" , INI ::parseAngleReal, nullptr , offsetof (ModelConditionInfo, m_turrets[7 ].m_turretArtPitch ) },
1473- { " ShowSubObject" , parseShowHideSubObject, (void *)0 , offsetof (ModelConditionInfo, m_hideShowVec) },
1476+ { " ShowSubObject" , parseShowHideSubObject, (void *)nullptr , offsetof (ModelConditionInfo, m_hideShowVec) },
14741477 { " HideSubObject" , parseShowHideSubObject, (void *)1 , offsetof (ModelConditionInfo, m_hideShowVec) },
14751478 { " WeaponFireFXBone" , parseWeaponBoneName, nullptr , offsetof (ModelConditionInfo, m_weaponFireFXBoneName[0 ]) },
14761479 { " WeaponRecoilBone" , parseWeaponBoneName, nullptr , offsetof (ModelConditionInfo, m_weaponRecoilBoneName[0 ]) },
0 commit comments