From 8cd2b8263ba07334fea177ca7eef7d1dbbabb095 Mon Sep 17 00:00:00 2001 From: Martin Schaffner Date: Mon, 24 Jan 2005 22:26:06 +0000 Subject: [PATCH] don't try to set the removed follow_path --- ChangeLog | 1 + main/editor/medrobot.c | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4cb4d51c..8c286438 100644 --- a/ChangeLog +++ b/ChangeLog @@ -24,6 +24,7 @@ instead of d1-style mem.h and types.h * main/editor/texpage.c: do texture replacement for any mission * main/editor/medwall.c: add prototype for create_removable_wall + * main/editor/medrobot.c: don't try to set the removed follow_path 2005-01-23 Jason Owen diff --git a/main/editor/medrobot.c b/main/editor/medrobot.c index b6901d66..09e2cd78 100644 --- a/main/editor/medrobot.c +++ b/main/editor/medrobot.c @@ -1,4 +1,4 @@ -/* $Id: medrobot.c,v 1.4 2004-12-21 11:58:14 btb Exp $ */ +/* $Id: medrobot.c,v 1.5 2005-01-24 22:26:06 schaffner Exp $ */ /* THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO @@ -19,7 +19,7 @@ COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED. */ #ifdef RCS -static char rcsid[] = "$Id: medrobot.c,v 1.4 2004-12-21 11:58:14 btb Exp $"; +static char rcsid[] = "$Id: medrobot.c,v 1.5 2005-01-24 22:26:06 schaffner Exp $"; #endif #ifdef HAVE_CONFIG_H @@ -140,8 +140,8 @@ void call_init_ai_object(object *objp, int behavior) mseg = Markedsegp-Segments; } - objp->ctype.ai_info.follow_path_start_seg = Cursegp-Segments; - objp->ctype.ai_info.follow_path_end_seg = Markedsegp-Segments; + //objp->ctype.ai_info.follow_path_start_seg = Cursegp-Segments; + //objp->ctype.ai_info.follow_path_end_seg = Markedsegp-Segments; } } -- 2.39.2