From 102b17f743e36bc6947a53fc22c521c340e9b95e Mon Sep 17 00:00:00 2001 From: terminx Date: Tue, 29 Aug 2006 20:26:55 +0000 Subject: [PATCH] Oops. git-svn-id: https://svn.eduke32.com/eduke32@282 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/game.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 2fac83ac9..3bce45761 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -6367,8 +6367,8 @@ PALONLY: { int ii; - ii = getangle(tsprite[spritesortcnt].x-ps[myconnectindex].posx, - tsprite[spritesortcnt].y-ps[myconnectindex].posy); + ii = getangle(tsprite[spritesortcnt].x-ps[screenpeek].posx, + tsprite[spritesortcnt].y-ps[screenpeek].posy); tsprite[spritesortcnt].x += sintable[(ii+2560)&2047]>>9; tsprite[spritesortcnt].y += sintable[(ii+2048)&2047]>>9;