forked from alterware/iw6-mod
Tweaked comments.
This commit is contained in:
@@ -357,7 +357,7 @@ namespace // hooks
|
||||
{
|
||||
if (const auto delta_time = snap_svr_time - server_time; delta_time >= 1000)
|
||||
{
|
||||
// skip timeout between first and second snapshots (for user demos)
|
||||
// skip timeout between first and second snapshot (for user demos)
|
||||
fast_forward_demo(delta_time);
|
||||
skip_timeout = true;
|
||||
}
|
||||
|
||||
@@ -154,6 +154,7 @@ namespace demo_timescale
|
||||
// add timescale support for lua ui elements during demo playback
|
||||
LUI_Layout_hook.create(game::LUI_Layout, set_delta_time_ui_elements);
|
||||
|
||||
// allow the user to control the timescale during demo playback
|
||||
demo_timescale = game::Dvar_RegisterFloat(
|
||||
"demotimescale", 1.0f, 0.0f, 1000.0f, game::DVAR_FLAG_NONE, "Set playback speed for demos");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user