mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- Duke/RR: Fix RR crash while operating weapon outside of a sector (noclipping, etc).
This commit is contained in:
parent
af96180123
commit
6aba76cfe5
1 changed files with 1 additions and 1 deletions
|
@ -2710,7 +2710,7 @@ static void operateweapon(int snum, ESyncBits actions, sectortype* psectp)
|
|||
auto p = &ps[snum];
|
||||
auto pact = p->GetActor();
|
||||
int i, k;
|
||||
int psectlotag = psectp->lotag;
|
||||
int psectlotag = psectp ? psectp->lotag : 857;
|
||||
|
||||
if (!isRRRA() && p->curr_weapon >= MOTORCYCLE_WEAPON) return;
|
||||
switch (p->curr_weapon)
|
||||
|
|
Loading…
Reference in a new issue