Cleanup: Use std::vector in RealSpriteGroup.
(cherry picked from commit f785a70a2b
)
This commit is contained in:

committed by
Jonathan G Rennison

parent
d4c466200f
commit
d3b9d19c5a
@@ -223,8 +223,8 @@ void AirportOverrideManager::SetEntitySpec(AirportSpec *as)
|
||||
{
|
||||
/* Airport action 2s should always have only 1 "loaded" state, but some
|
||||
* times things don't follow the spec... */
|
||||
if (group->num_loaded > 0) return group->loaded[0];
|
||||
if (group->num_loading > 0) return group->loading[0];
|
||||
if (!group->loaded.empty()) return group->loaded[0];
|
||||
if (!group->loading.empty()) return group->loading[0];
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
Reference in New Issue
Block a user