mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-22 12:11:21 +00:00
parent
ca71532229
commit
22f5c69b4c
2 changed files with 4 additions and 2 deletions
|
@ -246,7 +246,8 @@ bool checkhitswitch_d(int snum, walltype* wwal, DDukeActor *act)
|
||||||
break;
|
break;
|
||||||
case DTILE_ACCESSSWITCH:
|
case DTILE_ACCESSSWITCH:
|
||||||
case DTILE_ACCESSSWITCH2:
|
case DTILE_ACCESSSWITCH2:
|
||||||
checkaccessswitch_d(snum, switchpal, act, wwal);
|
if (checkaccessswitch_d(snum, switchpal, act, wwal))
|
||||||
|
return 0;
|
||||||
[[fallthrough]];
|
[[fallthrough]];
|
||||||
case DTILE_DIPSWITCH2:
|
case DTILE_DIPSWITCH2:
|
||||||
case DTILE_DIPSWITCH2ON:
|
case DTILE_DIPSWITCH2ON:
|
||||||
|
|
|
@ -216,7 +216,8 @@ bool checkhitswitch_r(int snum, walltype* wwal, DDukeActor* act)
|
||||||
break;
|
break;
|
||||||
case RTILE_ACCESSSWITCH:
|
case RTILE_ACCESSSWITCH:
|
||||||
case RTILE_ACCESSSWITCH2:
|
case RTILE_ACCESSSWITCH2:
|
||||||
checkaccessswitch_r(snum, switchpal, act, wwal);
|
if (checkaccessswitch_r(snum, switchpal, act, wwal))
|
||||||
|
return 0;
|
||||||
goto goOn1;
|
goto goOn1;
|
||||||
|
|
||||||
case RTILE_MULTISWITCH2:
|
case RTILE_MULTISWITCH2:
|
||||||
|
|
Loading…
Reference in a new issue