mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
- Fixed: Do not "Give player back the skin" when loading a savegame if they have MF4_NOSKIN set.
SVN r3473 (trunk)
This commit is contained in:
parent
43033df455
commit
d3a2a40a3a
1 changed files with 2 additions and 2 deletions
|
@ -363,8 +363,8 @@ void AActor::Serialize (FArchive &arc)
|
|||
{
|
||||
if (playeringame[player - players] &&
|
||||
player->cls != NULL &&
|
||||
state->sprite ==
|
||||
GetDefaultByType (player->cls)->SpawnState->sprite)
|
||||
!(flags4 & MF4_NOSKIN) &&
|
||||
state->sprite == GetDefaultByType (player->cls)->SpawnState->sprite)
|
||||
{ // Give player back the skin
|
||||
sprite = skins[player->userinfo.skin].sprite;
|
||||
scaleX = skins[player->userinfo.skin].ScaleX;
|
||||
|
|
Loading…
Reference in a new issue