View Single Post
  #11  
Old 08-13-2008, 10:06 PM
Theeper
Discordant
 
Join Date: May 2004
Posts: 290
Default

Quote:
Originally Posted by KLS View Post
btw there's already a function to tell if the corpse is empty: Corpse::IsEmpty() =p
LOL, that's what I get for not looking through the function list very carefully. It seems as though IsEmpty() is only used for the PERL interface right now.

Ignore the above and use this until KLS tells us how it's actually supposed to be done in one line probably :p~

Code:

	if (IsEmpty())
		corpse_decay_timer.SetTimer(5000);
Reply With Quote