mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 09:11:17 +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