diff options
Diffstat (limited to 'src/hexen/g_game.c')
-rw-r--r-- | src/hexen/g_game.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hexen/g_game.c b/src/hexen/g_game.c index 1560c05f..5dcfb478 100644 --- a/src/hexen/g_game.c +++ b/src/hexen/g_game.c @@ -1150,7 +1150,7 @@ boolean G_CheckSpot(int playernum, mapthing_t * mthing) // spawn a teleport fog ss = R_PointInSubsector(x, y); - an = (ANG45 * (mthing->angle / 45)) >> ANGLETOFINESHIFT; + an = ((unsigned) ANG45 * (mthing->angle / 45)) >> ANGLETOFINESHIFT; mo = P_SpawnMobj(x + 20 * finecosine[an], y + 20 * finesine[an], ss->sector->floorheight + TELEFOGHEIGHT, MT_TFOG); |