mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 23:07:42 +00:00
Working CScriptGunTurret
This commit is contained in:
@@ -131,8 +131,10 @@ void CGunController::ReturnToDefault(CStateManager& mgr, float dt, bool setState
|
||||
switch (x50_gunState) {
|
||||
case EGunState::Strike:
|
||||
x50_gunState = EGunState::FreeLook;
|
||||
[[fallthrough]];
|
||||
case EGunState::Idle:
|
||||
x4_freeLook.SetIdle(false);
|
||||
[[fallthrough]];
|
||||
case EGunState::FreeLook:
|
||||
if (setState)
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user