mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-10-09 07:59:40 +00:00
Make CUnit::GetModel return a reference so it's clear it can never be NULL.
This was SVN commit r7464.
This commit is contained in:
@@ -96,7 +96,7 @@ float CEntity::ChooseMovementSpeed( float distance )
|
||||
m_actor->SetAnimationState( anim_name, false, speed, 0.f, false, L"" );
|
||||
|
||||
// Animation desync
|
||||
m_actor->GetModel()->Update( rand( 0, 1000 ) / 1000.0f );
|
||||
m_actor->GetModel().Update( rand( 0, 1000 ) / 1000.0f );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user