mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-06-04 19:20:53 +00:00
Update to ZDoom r1893:
- fixed: Savegames stored the global fixed light levels when saving a player. git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@515 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
parent
e00332c1f7
commit
2a14e24d23
3 changed files with 27 additions and 5 deletions
|
@ -1,3 +1,19 @@
|
|||
October 2, 2009 (Changes by Graf Zahl)
|
||||
- fixed: Savegames stored the global fixed light levels when saving a player.
|
||||
|
||||
October 1, 2009 (Changes by Graf Zahl)
|
||||
- Fixed some GCC warnings.
|
||||
- fixed: The BossCube could be blocked by floors and ceiling resulting
|
||||
in incorrect movement. I changed it so that A_BrainSpit now sets the
|
||||
MF5_NOINTERACTION flag for anything it spawns that has the MF_NOCLIP
|
||||
flag. For travelling cubes active collision detection makes no sense
|
||||
and only causes problems. This should also make the boss brain
|
||||
work in the other games which previously were excluded by a game mode
|
||||
check in the movement code.
|
||||
- fixed: ACS's GetUserVariable did not work for the script activator.
|
||||
- fixed: Moving floors could be blocked by 2 actors without MF2_PASSMOBJ
|
||||
overlapping each other (common mapping bug, check Herian 2 MAP30.)
|
||||
|
||||
September 30, 2009 (Changes by Graf Zahl)
|
||||
- Fixed: Coordinate handling for multipatch texture compositing was not correct
|
||||
for true color. Instead of using a clipping rectangle on the destination it
|
||||
|
|
|
@ -2514,19 +2514,25 @@ void player_t::Serialize (FArchive &arc)
|
|||
int fixedmap;
|
||||
arc << fixedmap;
|
||||
fixedcolormap = NOFIXEDCOLORMAP;
|
||||
fixedlightlev = -1;
|
||||
fixedlightlevel = -1;
|
||||
if (fixedmap >= NUMCOLORMAPS)
|
||||
{
|
||||
fixedcolormap = fixedmap - NUMCOLORMAPS;
|
||||
}
|
||||
else if (fixedmap > 0)
|
||||
{
|
||||
fixedlightlev = fixedmap;
|
||||
fixedlightlevel = fixedmap;
|
||||
}
|
||||
}
|
||||
else if (SaveVersion < 1893)
|
||||
{
|
||||
int ll;
|
||||
arc << fixedcolormap << ll;
|
||||
fixedlightlevel = ll;
|
||||
}
|
||||
else
|
||||
{
|
||||
arc << fixedcolormap << fixedlightlev;
|
||||
arc << fixedcolormap << fixedlightlevel;
|
||||
}
|
||||
arc << morphTics
|
||||
<< MorphedPlayerClass
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
// This file was automatically generated by the
|
||||
// updaterevision tool. Do not edit by hand.
|
||||
|
||||
#define ZD_SVN_REVISION_STRING "1891"
|
||||
#define ZD_SVN_REVISION_NUMBER 1891
|
||||
#define ZD_SVN_REVISION_STRING "1893"
|
||||
#define ZD_SVN_REVISION_NUMBER 1893
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue