ref: 3e63451df5b5d3f9f4019f19977e6b0b1ec10053
parent: 4a0ee9813b29a11059e8044bd00d64588fc027d7
author: Turo Lamminen <turol@iki.fi>
date: Sat Nov 12 11:48:05 EST 2022
strife: Fix integer overflow in A_RandomWalk
--- a/src/strife/p_enemy.c
+++ b/src/strife/p_enemy.c
@@ -931,7 +931,7 @@
{
int delta;
- actor->angle &= (7 << 29);
+ actor->angle &= (7u << 29);
delta = actor->angle - (actor->movedir << 29);
if(delta < 0)