mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-06-03 02:30:53 +00:00
* Updated to ZDoom r3480:
- Fixed: Sprites drawn with the shaded render style were always fullbright. - Remove unused FRICTION definition. - Fixed: Switching maps using the ResetHealth flag while dead would prevent proper reinitialization of the player on the new map. - Fixed: If the znodes were based on a map with more vertexes than the one it is being loaded for, reject them. - Fixed: Prematurely closing a Door_Raise-type door now properly examines the actual sound sequence to determine if it should start the closing sequence. - Fixed: Poison damage lost damage type information if the poisoner was destroyed before poisoncount reached 0. - Fixed: Poisoners without a PainType should use their own DamageType to pick the Pain state to make the target enter, not the target's DamageType. git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@1323 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
parent
59988570f5
commit
af22020682
14 changed files with 185 additions and 56 deletions
|
@ -2667,6 +2667,16 @@ void player_t::Serialize (FArchive &arc)
|
|||
<< original_cmd
|
||||
<< original_oldbuttons;
|
||||
|
||||
if (SaveVersion >= 3475)
|
||||
{
|
||||
arc << poisontype << poisonpaintype;
|
||||
}
|
||||
else if (poisoner != NULL)
|
||||
{
|
||||
poisontype = poisoner->DamageType;
|
||||
poisonpaintype = poisoner->PainType != NAME_None ? poisoner->PainType : poisoner->DamageType;
|
||||
}
|
||||
|
||||
if (isbot)
|
||||
{
|
||||
arc << angle
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue