mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +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:
|
||||
break;
|
||||
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;
|
||||
case 10:
|
||||
VM_OnEvent(EVENT_PREVIOUSWEAPON,p->i,snum, -1, 0);
|
||||
j = VM_OnEvent(EVENT_PREVIOUSWEAPON,p->i,snum, -1, j);
|
||||
break;
|
||||
case 11:
|
||||
VM_OnEvent(EVENT_NEXTWEAPON,p->i,snum, -1, 0);
|
||||
j = VM_OnEvent(EVENT_NEXTWEAPON,p->i,snum, -1, j);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue