This is the mail archive of the xconq7@sources.redhat.com mailing list for the Xconq project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Removal of cell terrain (never a good idea!)


On Sun, 16 May 2004 mskala@ansuz.sooke.bc.ca wrote:
> This may be a mistake in my GDL rather than a bug, but if I set up
> "terrain-damaged-type" with the obvious (t* t* 1) to give equal
> probability to all possibilities, the result is that it will sometimes

Okay, a related point:  even with the change-to-illegal-subtype issue
dealt with, I still get an error if it attempts to damage a cell terrain
type for which there are no nonzero probability entries - problematic
because it's very easy to create that situation what with the table
defaulting to zero everywhere.  (For instance, if you say "yes" to terrain
damage with, for instance, detonations, but you don't mention the
terrain-damaged-type table at all.)  I wonder if instead of or in addition
to the patch I supplied, it might be better to just make "NONTTYPE"
returned from damaged_terrain_type result in no effect instead of an
error, by removing line 2381 of combat.c.
-- 
Matthew Skala
mskala@ansuz.sooke.bc.ca                    Embrace and defend.
http://ansuz.sooke.bc.ca/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]