- Fixed: In the Doom2 cast finale it was impossible to toggle the console.
- Added APROP_Friendly actor property for ACS. - Added a new flag, MF2_DONTREFLECT that prevents missiles from being reflected. - Fixed: ALoreShot::DoSpecialDamage must check whether the shooter is still present. If it had been removed before the projectile hits its target a crash could occur. - Fixed: GetPlayerInfo was missing breaks and always returned 0 as a result. - Added Grubber's submission for printing key bindings in ACS. SVN r491 (trunk)
This commit is contained in:
parent
8682f37b24
commit
d26824e5d1
9 changed files with 75 additions and 20 deletions
|
|
@ -44,6 +44,7 @@
|
|||
#include "p_conversation.h"
|
||||
#include "a_strifeglobal.h"
|
||||
#include "templates.h"
|
||||
#include "c_bind.h"
|
||||
|
||||
static void FadePic ();
|
||||
static void GetFinaleText (const char *msgLumpName);
|
||||
|
|
@ -709,6 +710,11 @@ bool F_CastResponder (event_t* ev)
|
|||
{
|
||||
if (ev->type != EV_KeyDown)
|
||||
return false;
|
||||
|
||||
const char *cmd = C_GetBinding (ev->data1);
|
||||
|
||||
if (cmd != NULL && !stricmp (cmd, "toggleconsole"))
|
||||
return false;
|
||||
|
||||
if (castdeath)
|
||||
return true; // already in dying frames
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue