View Single Post
p3tsin
Senior Member
Join Date: Sep 2005
Location: Finland
Old 07-29-2010 , 11:50   Re: Question about "m_takedamage"
Reply With Quote #5

Quote:
Originally Posted by shareddefs.h
Code:
// settings for m_takedamage
#define DAMAGE_NO		0
#define DAMAGE_EVENTS_ONLY	1	// Call damage functions, but don't modify health
#define DAMAGE_YES		2
#define DAMAGE_AIM		3
Not that it really matters in this case, but the range of a single byte goes from -128 to 127 (or from 0 to 255 if unsigned)
__________________
plop
p3tsin is offline