mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +00:00
- Added a NULL skins[] check to AActor::SetState().
SVN r2846 (trunk)
This commit is contained in:
parent
b8fa340986
commit
b9185f7c62
1 changed files with 1 additions and 1 deletions
|
@ -547,7 +547,7 @@ bool AActor::SetState (FState *newstate, bool nofunction)
|
|||
// for Dehacked, I would move sprite changing out of the states
|
||||
// altogether, since actors rarely change their sprites after
|
||||
// spawning.
|
||||
if (player != NULL)
|
||||
if (player != NULL && skins != NULL)
|
||||
{
|
||||
sprite = skins[player->userinfo.skin].sprite;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue