mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-20 18:42:26 +00:00
- added a few fallthrough annotations that were missed last time.
This commit is contained in:
parent
74fce3bf58
commit
2fe71a65a8
4 changed files with 6 additions and 4 deletions
|
@ -1952,6 +1952,7 @@ void moveweapons_d(void)
|
|||
case FIREBALL:
|
||||
// Twentieth Anniversary World Tour
|
||||
if (act->s->picnum == FIREBALL && !isWorldTour()) break;
|
||||
[[fallthrough]];
|
||||
case SHRINKSPARK:
|
||||
case RPG:
|
||||
case FIRELASER:
|
||||
|
|
|
@ -363,8 +363,8 @@ void animatesprites_d(spritetype* tsprite, int& spritesortcnt, int x, int y, int
|
|||
case FREEZE_WEAPON: newtspr->picnum = FREEZESPRITE; break;
|
||||
case FLAMETHROWER_WEAPON: //Twentieth Anniversary World Tour
|
||||
if (isWorldTour())
|
||||
newtspr->picnum = FLAMETHROWERSPRITE; break;
|
||||
[[fallthrough]];
|
||||
newtspr->picnum = FLAMETHROWERSPRITE;
|
||||
break;
|
||||
case DEVISTATOR_WEAPON: newtspr->picnum = DEVISTATORSPRITE; break;
|
||||
}
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ void resetmys()
|
|||
myy = omyy = ps[myconnectindex].pos.y;
|
||||
myz = omyz = ps[myconnectindex].pos.z;
|
||||
myxvel = myyvel = myzvel = 0;
|
||||
myang = myang = ps[myconnectindex].angle.ang;
|
||||
myang = ps[myconnectindex].angle.ang;
|
||||
myhoriz = omyhoriz = ps[myconnectindex].horizon.horiz;
|
||||
myhorizoff = omyhorizoff = ps[myconnectindex].horizon.horizoff;
|
||||
mycursectnum = ps[myconnectindex].cursectnum;
|
||||
|
|
|
@ -606,7 +606,7 @@ int spawn_d(int j, int pn)
|
|||
// Twentieth Anniversary World Tour
|
||||
if (!isWorldTour())
|
||||
break;
|
||||
|
||||
[[fallthrough]];
|
||||
case EXPLOSION2:
|
||||
case EXPLOSION2BOT:
|
||||
case BURNING:
|
||||
|
@ -973,6 +973,7 @@ int spawn_d(int j, int pn)
|
|||
case FLAMETHROWERAMMO: // Twentieth Anniversary World Tour
|
||||
if (!isWorldTour())
|
||||
break;
|
||||
[[fallthrough]];
|
||||
|
||||
case ATOMICHEALTH:
|
||||
case STEROIDS:
|
||||
|
|
Loading…
Reference in a new issue