Date: Thursday October 19, 2000 @ 22:12
Author: xyzzy
Update of /home/netrek/cvsroot/Vanilla/robots
In directory swashbuckler.fortress.real-time.com:/var/tmp/cvs-serv26170
Modified Files:
puckmove.c
Log Message:
Fix the puck through the back of the goal bug properly this time.
****************************************
Index: Vanilla/robots/puckmove.c
diff -u Vanilla/robots/puckmove.c:1.6 Vanilla/robots/puckmove.c:1.7
--- Vanilla/robots/puckmove.c:1.6 Sat May 27 02:52:03 2000
+++ Vanilla/robots/puckmove.c Thu Oct 19 22:12:40 2000
@@ -436,13 +436,13 @@
}
}
if ((me->p_x > G_LFT) && (me->p_x < G_RGT)) {
- if ((me->p_y >= KLI_E) && (lasty <= KLI_E)) {
+ if ((me->p_y > KLI_E) && (lasty <= KLI_E)) {
if (me->p_speed > 0)
messAll(anncer->p_no,roboname,"Boing! Off back of Kli goal.");
me->p_dir = me->p_desdir = 0 - (me->p_dir - 128);
me->p_y = KLI_E - (me->p_y - KLI_E);
shotby = -2;
- } else if ((me->p_y < ORI_E) && (lasty > ORI_E)) {
+ } else if ((me->p_y < ORI_E) && (lasty >= ORI_E)) {
if (me->p_speed > 0)
messAll(anncer->p_no,roboname,"Boing! Off back of Ori goal.");
me->p_dir = me->p_desdir = 128 - me->p_dir;