----- Original Message -----
From: "Yacketta, Ronald" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 02, 2002 7:56 PM
Subject: RE: [hlcoders] Items.cpp (MyTouch)


> Jeff,
>
> Look in items.cpp all those MyTouch are BOOL.....

Ah, okay.  CItem::ItemTouch() (which is of type void) calls CItem::MyTouch()
which returns a bool.  This is the only case where a touch returns anything
(from grepping the .h files for "Touch").

As long as you are calling your MyTouch() function from inside
CItem::Touch() then you should be okay.  If you are using SetTouch(MyTouch)
then the engine won't like it returning a bool value.

Jeffrey "botman" Broome

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to