Nevermind on this one, too; it turned out I was forgetting to set the variable 
'x' in question to zero at death, so the player proceeded to collect everything 
he dropped without actually losing anything in the first place.  Hurray, 
everything's working!

-Kohan



> From: [email protected]
> To: [email protected]
> Date: Mon, 13 Jul 2009 00:37:09 -0700
> Subject: [hlcoders] Code executing twice in a row.
> 
> 
> Hi, in CSDKGameRules::DeathNotice(), I have added a few lines to the effect 
> of "spawn an entity for every point in variable X".  Whenever a player dies, 
> though, twice as many entities are spawned as are supposed to be.  I recall 
> this sort of 'double execution' problem from an earlier mod, but I don't 
> remember how to solve it.  Does anyone else know?  Thanks!
> 
> -Kohan
> 
> 
> _________________________________________________________________
> Windows Liveā„¢: Keep your life in sync. 
> http://windowslive.com/explore?ocid=TXT_TAGLM_WL_BR_life_in_synch_062009
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
> 

_________________________________________________________________
Insert movie times and more without leaving HotmailĀ®. 
http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to