mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-01 08:31:45 +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 ();
|
Super::Tick ();
|
||||||
|
|
||||||
// Override the standard sprite, if desired
|
// Override the standard sprite, if desired
|
||||||
if (SpriteOverride != 0 && sprite == GetClass()->ActorInfo->OwnedStates[0].sprite)
|
if (SpriteOverride != 0 && sprite == SpawnState->sprite)
|
||||||
{
|
{
|
||||||
sprite = SpriteOverride;
|
sprite = SpriteOverride;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue