That is exactly what I thought! So I removed the EXPORT and still get the item_flash:Think(0 EXPORT crash
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Reedbeta Sent: Thursday, January 03, 2002 7:15 PM To: [EMAIL PROTECTED] Subject: RE: [hlcoders] Items.cpp (MyTouch) You shouldn't be exporting the Think() function...it overrides a function in the base class. You only need to declare think functions as EXPORT if they've got names other than Think. EG MyThink, FlyThink, HuntThink, MonsterThink etc would have to have EXPORTS, but not plain old Think(). --- "Yacketta, Ronald" <[EMAIL PROTECTED]> wrote: > Actually the code works.. For some reason unknown to me > I have a Think() for the Flash class, it is a void EXPORT Think() When > I set and use it I get an error saying No export for > item_flash::Think() *boggle* but then again it is declared as > Void EXPORT Think() > > So my crash was well before it got to this code :) __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

