Talk:Camera Bob

From Valve Developer Community
Revision as of 13:10, 23 July 2009 by Wilsonc (talk | contribs) (Created page with 'Just wanted to add that you probably want to change the first line if ( cl_viewbob_enabled.GetInt() == 1) to if ( cl_viewbob_enabled.GetInt() == 1 && !engine->IsPaused() ) …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Just wanted to add that you probably want to change the first line

if ( cl_viewbob_enabled.GetInt() == 1)

to

if ( cl_viewbob_enabled.GetInt() == 1 && !engine->IsPaused() )

That way, it won't bob when the game is paused, and it'll prevent a huge bob effect from gathering up from pausing for a long time.