mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Fix the previous/next weapon events
git-svn-id: https://svn.eduke32.com/eduke32@2675 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
5e60b989ab
commit
5207f91978
1 changed files with 3 additions and 3 deletions
|
@ -2710,13 +2710,13 @@ CHECKINV1:
|
||||||
case -1:
|
case -1:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
j = (uint32_t)VM_OnEvent(EVENT_WEAPKEY1+j,p->i,snum, -1, j);
|
j = VM_OnEvent(EVENT_WEAPKEY1+j,p->i,snum, -1, j);
|
||||||
break;
|
break;
|
||||||
case 10:
|
case 10:
|
||||||
VM_OnEvent(EVENT_PREVIOUSWEAPON,p->i,snum, -1, 0);
|
j = VM_OnEvent(EVENT_PREVIOUSWEAPON,p->i,snum, -1, j);
|
||||||
break;
|
break;
|
||||||
case 11:
|
case 11:
|
||||||
VM_OnEvent(EVENT_NEXTWEAPON,p->i,snum, -1, 0);
|
j = VM_OnEvent(EVENT_NEXTWEAPON,p->i,snum, -1, j);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue