mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- Fixed: SetMarineSprite tried to access the first owned state of the actor's class - but the weapon carrying marines own no states.
SVN r2117 (trunk)
This commit is contained in:
parent
7183a2f751
commit
16c638a598
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ void AScriptedMarine::Tick ()
|
|||
Super::Tick ();
|
||||
|
||||
// Override the standard sprite, if desired
|
||||
if (SpriteOverride != 0 && sprite == GetClass()->ActorInfo->OwnedStates[0].sprite)
|
||||
if (SpriteOverride != 0 && sprite == SpawnState->sprite)
|
||||
{
|
||||
sprite = SpriteOverride;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue