diff options
author | Simon Howard | 2006-04-14 15:24:32 +0000 |
---|---|---|
committer | Simon Howard | 2006-04-14 15:24:32 +0000 |
commit | 1be6c4c341fc6b42c76b9848b624e94f7f4451e4 (patch) | |
tree | 5d09260efc54441664758cc0d0b349ae491cf8df | |
parent | 939cea0431be99cf0f20644a05a909d582b6e68a (diff) | |
download | chocolate-doom-1be6c4c341fc6b42c76b9848b624e94f7f4451e4.tar.gz chocolate-doom-1be6c4c341fc6b42c76b9848b624e94f7f4451e4.tar.bz2 chocolate-doom-1be6c4c341fc6b42c76b9848b624e94f7f4451e4.zip |
Fix netgame respawn bug on MAP02 (may be 64-bit related)
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 469
-rw-r--r-- | src/g_game.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/g_game.c b/src/g_game.c index c20c5912..6d9a286c 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: g_game.c 455 2006-03-30 19:08:37Z fraggle $ +// $Id: g_game.c 469 2006-04-14 15:24:32Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -134,7 +134,7 @@ static const char -rcsid[] = "$Id: g_game.c 455 2006-03-30 19:08:37Z fraggle $"; +rcsid[] = "$Id: g_game.c 469 2006-04-14 15:24:32Z fraggle $"; #include <string.h> #include <stdlib.h> @@ -1076,7 +1076,7 @@ G_CheckSpot // spawn a teleport fog ss = R_PointInSubsector (x,y); - an = ( ANG45 * (mthing->angle/45) ) >> ANGLETOFINESHIFT; + an = ( ANG45 * (((unsigned int) mthing->angle)/45) ) >> ANGLETOFINESHIFT; mo = P_SpawnMobj (x+20*finecosine[an], y+20*finesine[an] , ss->sector->floorheight |