* Updated to ZDoom r3563:

- Fix type conversion warning.
- In P_SpawnMapThing(), pass the same flags to P_FindFloorCeiling() as the respawn functions do.
- Rename FFCF_3DMIDTEXRESTRICT to FF_3DRESTRICT and make it work with 3D floors too.
- Fixed: Do not play skinned sounds when the player has the NOSKIN flag set.
- Fixed: If a player has the NOSKIN flag set, do not change their appearance to that of the skin when spawning or changing the skin.
- Fixed: DSBarInfo did not declare its object pointers for the garbage collector.

git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@1358 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
gez 2012-04-14 07:39:28 +00:00
parent 42c44d0fa9
commit 8939431087
12 changed files with 30 additions and 20 deletions

View file

@ -765,6 +765,7 @@ void D_ReadUserInfoStrings (int i, BYTE **stream, bool update)
if (players[i].mo != NULL)
{
if (players[i].cls != NULL &&
!(players[i].mo->flags4 & MF4_NOSKIN) &&
players[i].mo->state->sprite ==
GetDefaultByType (players[i].cls)->SpawnState->sprite)
{ // Only change the sprite if the player is using a standard one