mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Remove code duplication
Replace ad hoc solution to dynamic camera key binding with call to console command
This commit is contained in:
parent
987723316a
commit
f8b73701ca
|
@ -516,7 +516,7 @@ static CKeyInfo gs_aKeys[] =
|
|||
{ "Fire", "+fire", 0 },
|
||||
{ "Hook", "+hook", 0 },
|
||||
{ "Hook Collisions", "+showhookcoll", 0 },
|
||||
{ "Dynamic Camera", "toggle cl_mouse_deadzone 300 0; toggle cl_mouse_followfactor 60 0; toggle cl_mouse_max_distance 1000 400", 0 },
|
||||
{ "Dynamic Camera", "toggle_dynamic_camera", 0 },
|
||||
{ "Hammer", "+weapon1", 0 },
|
||||
{ "Pistol", "+weapon2", 0 },
|
||||
{ "Shotgun", "+weapon3", 0 },
|
||||
|
|
Loading…
Reference in a new issue