MCPcopy Create free account
hub / github.com/demoth/jake2 / LookstrafeFunc

Method LookstrafeFunc

client/src/main/java/jake2/client/Menu.java:1320–1322  ·  view source on GitHub ↗
(Object unused)

Source from the content-addressed store, hash-verified

1318 }
1319
1320 private static void LookstrafeFunc(Object unused) {
1321 Cvar.getInstance().SetValue("lookstrafe", 1 - ClientGlobals.lookstrafe.value);
1322 }
1323
1324 private static void UpdateVolumeFunc(Object unused) {
1325 Cvar.getInstance().SetValue("s_volume", s_options_sfxvolume_slider.curvalue / 10);

Callers 1

executeMethod · 0.95

Calls 2

getInstanceMethod · 0.95
SetValueMethod · 0.80

Tested by

no test coverage detected