MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / InitForNewMap

Method InitForNewMap

neo/framework/UsercmdGen.cpp:1115–1126  ·  view source on GitHub ↗

================ idUsercmdGenLocal::InitForNewMap ================ */

Source from the content-addressed store, hash-verified

1113================
1114*/
1115void idUsercmdGenLocal::InitForNewMap( void ) {
1116 flags = 0;
1117 impulse = 0;
1118
1119 toggled_crouch.Clear();
1120 toggled_run.Clear();
1121 toggled_zoom.Clear();
1122 toggled_run.on = in_alwaysRun.GetBool();
1123
1124 Clear();
1125 ClearAngles();
1126}
1127
1128/*
1129================

Callers 1

ExecuteMapChangeMethod · 0.80

Calls 3

ClearFunction · 0.85
ClearMethod · 0.45
GetBoolMethod · 0.45

Tested by

no test coverage detected