mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 02:30:46 +00:00
Fix EVENT_CHECKTOUCHDAMAGE (the change to how events handle RETURN broke it)
git-svn-id: https://svn.eduke32.com/eduke32@2660 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
763aceda83
commit
282036a048
1 changed files with 1 additions and 1 deletions
|
@ -3523,7 +3523,7 @@ void P_CheckWeapon(DukePlayer_t *p)
|
|||
|
||||
void P_CheckTouchDamage(DukePlayer_t *p,int32_t j)
|
||||
{
|
||||
if (VM_OnEvent(EVENT_CHECKTOUCHDAMAGE, p->i, sprite[p->i].yvel, -1, j) == -1)
|
||||
if ((j = VM_OnEvent(EVENT_CHECKTOUCHDAMAGE, p->i, sprite[p->i].yvel, -1, j)) == -1)
|
||||
return;
|
||||
|
||||
if ((j&49152) == 49152)
|
||||
|
|
Loading…
Reference in a new issue