mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-01-31 04:50:48 +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] &&
|
if (playeringame[player - players] &&
|
||||||
player->cls != NULL &&
|
player->cls != NULL &&
|
||||||
state->sprite ==
|
!(flags4 & MF4_NOSKIN) &&
|
||||||
GetDefaultByType (player->cls)->SpawnState->sprite)
|
state->sprite == GetDefaultByType (player->cls)->SpawnState->sprite)
|
||||||
{ // Give player back the skin
|
{ // Give player back the skin
|
||||||
sprite = skins[player->userinfo.skin].sprite;
|
sprite = skins[player->userinfo.skin].sprite;
|
||||||
scaleX = skins[player->userinfo.skin].ScaleX;
|
scaleX = skins[player->userinfo.skin].ScaleX;
|
||||||
|
|
Loading…
Reference in a new issue