Re: sector_types

From: Jeffrey David Frey Jr. (freyj@en.com)
Date: 11/15/95


If you don't want it to decrement movement while you are flying find 
where in act.movement.c character movement is decremented.  Probably 
in do_simple_move.  Put an if statement around it like:
               if  !(character in sector_fly) || Affected by fly 
                     decrement movement
You probably also want it not to check your movement while you are 
flying so you would want to put an if statement around the code that 
won't let you move when it is <= 0.  This if statement would be 
depend on if the char is AFF_FLY, or whatever.  
Sorry for all the psuedocode, but I did not feel like getting 
specific code out.
~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jeffrey D. Frey, Jr.               Email: freyj@en.com

4902 Spring Run Ct. Apt E       Phone: 
Stow, OH  44224		         (216) 342-3450 HOME  
			         (216) 656-5119 OFFICE
~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~



This archive was generated by hypermail 2b30 : 12/07/00 PST