Sure I read it. But I think that's a stupid, hack workaround.

Do it right the first time, don't make it more obfuscated than necassary..



-----Original Message-----
From: Mike Barton [mailto:[EMAIL PROTECTED]
Sent: Friday, July 12, 2002 11:08 AM
To: [email protected]
Subject: Re: Easy answer, I'm just braindead right now


Not necessarily.. they were talking about renaming "damage" to "damage_new" 
and making the necessary changes to it.  Then make a new function "damage" 
that has the same prototype as the old damage function.  This damage
function 
just calls damage_new with a default value for the added argument.  Your old

calls to damage will call the damage function, which calls damage_new with 
default values for added arguments.
So you don't need to change references to damage.  You can leave them the 
same.  You now just use damage_new when you need access to that new
argument.

Are we reading the mails before we reply?

--Palrich.

On Friday 12 July 2002 07:53 pm, Jason Gauthier wrote:
> Then, as Tom said, you will need to change all your functions that call
> damage, and also the prototype.


-- 
ROM mailing list
[email protected]
http://www.rom.org/cgi-bin/mailman/listinfo/rom

Reply via email to