- Added a show_obituaries option to disable obituaries without disabling
other more important message types which have lower priority for some reason. - Added a menu option for show_messages after accidentally switching it off far too often and wondering why no messages appear. - Added crouching DoomPlayer sprites submitted by Enjay. - Fixed DF_NO_CROUCH was not checked. - Fixed: The intermission script parser had some of its cases in the keyword parser incorrectly sorted. - Fixed: atterm was still defined to take a STACK_ARGS function argument. - Added an AltFlash state for weapons. - Turned FloatSpeed into an actor property and changed the value to 5 for all floating Strife actors, as a comment in the source indicated. (r114 below): - Added GZDoom's code for Vavoom slope things because I wanted to test something with a map from Silent Steel. - Added nocrouch and allowcrouch MAPINFO commands and a DF_NO_CROUCH dmflag. - Added GZDoom's crouching code after cleaning it up so that adding crouching sprites will be easier. SVN r115 (trunk)
This commit is contained in:
parent
caed57baa5
commit
afd6a1258f
62 changed files with 195 additions and 16 deletions
|
|
@ -67,6 +67,7 @@ static FRandom pr_switcher ("SwitchTarget");
|
|||
|
||||
CVAR (Bool, cl_showsprees, true, CVAR_ARCHIVE)
|
||||
CVAR (Bool, cl_showmultikills, true, CVAR_ARCHIVE)
|
||||
EXTERN_CVAR (Bool, show_obituaries)
|
||||
|
||||
//
|
||||
// GET STUFF
|
||||
|
|
@ -183,11 +184,8 @@ void ClientObituary (AActor *self, AActor *inflictor, AActor *attacker)
|
|||
BOOL friendly;
|
||||
int gender;
|
||||
|
||||
if (self->player == NULL)
|
||||
return;
|
||||
|
||||
// No obituaries for voodoo dolls
|
||||
if (self->player->mo != self)
|
||||
// No obituaries for non-players, voodoo dolls or when not wanted
|
||||
if (self->player == NULL || self->player->mo != self || !show_obituaries)
|
||||
return;
|
||||
|
||||
gender = self->player->userinfo.gender;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue