diff --git a/source/duke3d/src/actors.cpp b/source/duke3d/src/actors.cpp index c996063c9..5e5268cec 100644 --- a/source/duke3d/src/actors.cpp +++ b/source/duke3d/src/actors.cpp @@ -2714,7 +2714,7 @@ static void Proj_BounceOffWall(spritetype *s, int j) // NOTE: Compare with Proj_MaybeDamageCF2() in sector.c static int Proj_MaybeDamageCF(int spriteNum) { - uspritetype const * const s = &sprite[spriteNum]; + uspritetype const * const s = (uspritetype const *)&sprite[spriteNum]; if (s->zvel < 0) {