diff --git a/polymer/eduke32/build/include/build.h b/polymer/eduke32/build/include/build.h index 783fdeb54..668e1378a 100644 --- a/polymer/eduke32/build/include/build.h +++ b/polymer/eduke32/build/include/build.h @@ -99,7 +99,7 @@ enum rendmode_t { #define SPRITES_OF_SECT(Sectnum, Iter) Iter=headspritesect[Sectnum]; Iter>=0; Iter=nextspritesect[Iter] // ... in which case this iterator may be used: #define SPRITES_OF_SECT_SAFE(Sectnum, Iter, Next) Iter=headspritesect[Sectnum]; \ - Iter>=0 && (Next=nextspritestat[Iter], 1); Iter=Next + Iter>=0 && (Next=nextspritesect[Iter], 1); Iter=Next #define CLEARLINES2D(Startline, Numlines, Color) \ clearbuf((char *)(frameplace + ((Startline)*bytesperline)), (bytesperline*(Numlines))>>2, (Color)) diff --git a/polymer/eduke32/source/player.c b/polymer/eduke32/source/player.c index c4d32d1bd..95bbb9540 100644 --- a/polymer/eduke32/source/player.c +++ b/polymer/eduke32/source/player.c @@ -1154,6 +1154,7 @@ int32_t A_ShootWithZvel(int32_t i, int32_t atwith, int32_t override_zvel) sa += 64 - (krand()&127); if (p < 0) sa += 1024; zvel = 1024-(krand()&2047); + // fall-through case KNEE__STATIC: if (atwith == KNEE) {