From: "Johannes Lampel - JoeBOT" <[EMAIL PROTECTED]>

> oops, it was
>
> if(m_iClip <= 99
> &&m_fAdd < gpGlobals->time - .25){
> m_fAdd = gpGlobals->time;
> m_iClip++;
> }

Very nice .. but does gpGlobals->time hold an integer value or a long value?
It seems it will only slow down like its supposed to if I do like this:

if (m_iClip <= 99 && m_fAdd + 1 < gpGlobals->time) {
  m_fAdd = gpGlobals->time;

(Using 1 instead of 0.25 works but it ends up giving only one round a
second.. a bit to slow in other words)

I realize this is probably documented somewhere, just haven't found where
yet. Sorry.


/John

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

Reply via email to