summaryrefslogtreecommitdiff
path: root/src/p_pspr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/p_pspr.c')
-rw-r--r--src/p_pspr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/p_pspr.c b/src/p_pspr.c
index cf56839d..ec41465d 100644
--- a/src/p_pspr.c
+++ b/src/p_pspr.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: p_pspr.c 206 2005-10-17 20:27:05Z fraggle $
+// $Id: p_pspr.c 694 2006-10-11 22:55:06Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -40,7 +40,7 @@
//-----------------------------------------------------------------------------
static const char
-rcsid[] = "$Id: p_pspr.c 206 2005-10-17 20:27:05Z fraggle $";
+rcsid[] = "$Id: p_pspr.c 694 2006-10-11 22:55:06Z fraggle $";
#include "doomdef.h"
#include "d_event.h"
@@ -542,7 +542,7 @@ A_Saw
linetarget->x, linetarget->y);
if (angle - player->mo->angle > ANG180)
{
- if (angle - player->mo->angle < -ANG90/20)
+ if ((signed int) (angle - player->mo->angle) < -ANG90/20)
player->mo->angle = angle + ANG90/21;
else
player->mo->angle -= ANG90/20;