From 6a5900d546e17718da40f9386e356e991abbcecc Mon Sep 17 00:00:00 2001 From: ghaushe Date: Tue, 25 Feb 2003 18:23:33 +0000 Subject: [PATCH] Vux warps in near enemy (fixes bug 93) -from Nic git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@829 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/ChangeLog | 1 + sc2/src/sc2code/ships/vux/vux.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sc2/ChangeLog b/sc2/ChangeLog index eaac4c5b5..713438899 100644 --- a/sc2/ChangeLog +++ b/sc2/ChangeLog @@ -1,4 +1,5 @@ Changes towards version 0.3: +- Vux warps in close (fixes bug 93) -from Nic - Fixed lockup on lander-report (Bug #144 annd 187?) - Version # is now printed in the main menu, from Nic - Added PC Shipyard + Hangar power lines animation; diff --git a/sc2/src/sc2code/ships/vux/vux.c b/sc2/src/sc2code/ships/vux/vux.c index 94a36bb17..c891d8037 100644 --- a/sc2/src/sc2code/ships/vux/vux.c +++ b/sc2/src/sc2code/ships/vux/vux.c @@ -315,8 +315,8 @@ vux_preprocess (PELEMENT ElementPtr) do { -#define MAXX_ENTRY_DIST DISPLAY_TO_WORLD (SPACE_HEIGHT << 1) -#define MAXY_ENTRY_DIST DISPLAY_TO_WORLD (SPACE_HEIGHT << 1) +#define MAXX_ENTRY_DIST (LASER_RANGE << 1) +#define MAXY_ENTRY_DIST (LASER_RANGE << 1) SIZE dx, dy; ElementPtr->current.location.x =