diff --git a/source/games/duke/src/actors_d.cpp b/source/games/duke/src/actors_d.cpp index 5df4d3a66..866d006a1 100644 --- a/source/games/duke/src/actors_d.cpp +++ b/source/games/duke/src/actors_d.cpp @@ -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: diff --git a/source/games/duke/src/animatesprites_d.cpp b/source/games/duke/src/animatesprites_d.cpp index 2c06fbf18..8e0cb39c6 100644 --- a/source/games/duke/src/animatesprites_d.cpp +++ b/source/games/duke/src/animatesprites_d.cpp @@ -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; } diff --git a/source/games/duke/src/prediction.cpp b/source/games/duke/src/prediction.cpp index 193597953..599c4e4ce 100644 --- a/source/games/duke/src/prediction.cpp +++ b/source/games/duke/src/prediction.cpp @@ -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; diff --git a/source/games/duke/src/spawn_d.cpp b/source/games/duke/src/spawn_d.cpp index 65ec7d604..02e76b5a4 100644 --- a/source/games/duke/src/spawn_d.cpp +++ b/source/games/duke/src/spawn_d.cpp @@ -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: