--
[ Picked text/plain from multipart/alternative ]
This is a long shot, but if you are running release code and the pdb files
have not been updated, then the debugger will interpret the line of code
that is being run to be the wrong one in the code you are looking at.
Normally it wouldn't let you debug, but stranger things have happened (and
I've seen this before).

To check this add in a Msg() call and output the bool to see if the exe is
really going into the if function with a false

David (PulledPin) Shaw
www.hl2ctf.com

On 27/02/2008, Tom Edwards <[EMAIL PROTECTED]> wrote:
>
> Absolutely nothing. (Well, I added some of the diagnostic code I
> mentioned in the first message, but that doesn't have any effect on the
> behaviour.)
>
>
> Grash wrote:
> > What did you change in the model entity tutorial?
> >
> >
> > --- Tom Edwards <[EMAIL PROTECTED]> wrote:
> >
> >
> >> I'm still working on VDC documentation. I've completed a new version
> >> of
> >> the model entity tutorial, but there's a curiosity I'd like to have
> >> explained to me. If the player stands in front of the my_model_entity
> >> as
> >> it moves, it will execute a chunk of IF code in MoveThink()
> >> regardless
> >> of whether the conditions for it are true!
> >>
> >> I added a console message when the if statement is executed (which
> >> appears every time the entity hits me) and disabled the random
> >> AbsVector
> >> changes. The code is _definitely_ being executed ahead of time.
> >>
> >> What's going on here? The code is at
> >> http://developer.valvesoftware.com/wiki/Model_Entity .
> >>
> >>
> >> _______________________________________________
> >> To unsubscribe, edit your list preferences, or view the list
> >> archives, please visit:
> >> http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >>
> >>
> >>
> >
> >
> >
> >
> >
> >
> ____________________________________________________________________________________
> > Be a better friend, newshound, and
> > know-it-all with Yahoo! Mobile.  Try it now.
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> >
> >
> > _______________________________________________
> > 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
>
>
--

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

Reply via email to