mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-06-04 03:00:47 +00:00
* Updated to ZDoom r3131:
- Add ~/.zdoom as a default path in [FileSearch.Directories] on Unix systems. - Fixed: Fake floor's validcounts were not initialized. - Fixed: When loading non-UDMF maps, things did not have their conversation field zero'ed. - Added an assert for the FAKE3D_REFRESHCLIP case at the end of R_RenderMaskedSegRange(), because Valgrind indicates this is being run without ds->bkup being set to something valid. I do not immediately know how this should be fixed. - Fixed: Actions in the saee menu need to do full range checks for the number of currently selected item. git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@1187 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
parent
4990ff71ba
commit
a461c0ba88
7 changed files with 21 additions and 11 deletions
|
@ -1655,6 +1655,7 @@ void P_LoadThings (MapData * map)
|
|||
|
||||
memset (&mti[i], 0, sizeof(mti[i]));
|
||||
|
||||
mti[i].Conversation = 0;
|
||||
mti[i].SkillFilter = MakeSkill(flags);
|
||||
mti[i].ClassFilter = 0xffff; // Doom map format doesn't have class flags so spawn for all player classes
|
||||
flags &= ~MTF_SKILLMASK;
|
||||
|
@ -1728,6 +1729,7 @@ void P_LoadThings2 (MapData * map)
|
|||
mti[i].SkillFilter = MakeSkill(mti[i].flags);
|
||||
mti[i].ClassFilter = (mti[i].flags & MTF_CLASS_MASK) >> MTF_CLASS_SHIFT;
|
||||
mti[i].flags &= ~(MTF_SKILLMASK|MTF_CLASS_MASK);
|
||||
mti[i].Conversation = 0;
|
||||
}
|
||||
delete[] mtp;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue