ddnet/src/engine/shared
bors[bot] 845c04fc22
Merge #4143
4143: Fix cl_show_direction wrong maximum r=Jupeyy a=HamidReza585

The maximum for cl_show_direction was supposed to be 2 but it looks like I forgot to change it in #4133  so if someone check show local player's key presses in DDNet settings (or do cl_show_direction 2), it will be reset to 1 next time the client launches.

## Checklist

- [x] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [x] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


Co-authored-by: HamidReza <57710259+HamidReza585@users.noreply.github.com>
2021-09-04 11:19:52 +00:00
..
compression.cpp Run clang-format 2020-09-26 21:50:15 +02:00
compression.h Made int packing functions safe 2017-09-17 02:36:50 +02:00
config.cpp CConfig: Use str_escape in EscapeParam() 2021-01-16 03:20:57 +03:00
config.h Port CConfig API from the upstream (0.7.5) 2021-01-10 17:10:19 +03:00
config_variables.h Fix cl_show_direction 2 wrong maximum 2021-09-04 15:37:37 +04:30
console.cpp Add colors for dbg_msg console 2021-08-28 04:42:42 +05:00
console.h More colors from chat in console 2021-03-08 01:20:28 +01:00
csv.cpp Add a simple CSV writer for Python's "excel" csv dialect 2020-06-23 09:11:59 +02:00
csv.h Fix some variable name's style 2020-11-08 17:15:48 +01:00
datafile.cpp Fix duplicate uuid index in maps edited by tools 2021-05-03 12:02:18 +02:00
datafile.h Fix duplicate uuid index in maps edited by tools 2021-05-03 12:02:18 +02:00
demo.cpp uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
demo.h uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
econ.cpp More colors from chat in console 2021-03-08 01:20:28 +01:00
econ.h uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
engine.cpp Add serverbrowser ping cache 2021-05-14 01:00:41 +02:00
fifo.cpp Remove fifo file on shutdown 2021-02-21 17:31:25 +01:00
fifo.h Remove fifo file on shutdown 2021-02-21 17:31:25 +01:00
filecollection.cpp uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
filecollection.h uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
global_uuid_manager.cpp Move teehistorian UUIDs into engine 2018-01-11 16:01:13 +01:00
huffman.cpp Run clang-format 2020-09-26 21:50:15 +02:00
huffman.h Run clang-format 2020-09-26 21:50:15 +02:00
image_manipulation.cpp Update missing file from dilate 2021-02-13 14:04:42 +01:00
image_manipulation.h lower alpha threshold 2021-02-03 20:05:02 +01:00
jobs.cpp Make it possible to run jobs in the current thread 2021-05-13 03:15:18 +02:00
jobs.h Make it possible to run jobs in the current thread 2021-05-13 03:15:18 +02:00
json.cpp Run clang-format 2020-09-26 21:50:15 +02:00
json.h Run clang-format 2020-09-26 21:50:15 +02:00
kernel.cpp Fix some variable name's style 2020-11-08 17:15:48 +01:00
linereader.cpp Fix some variable name's style 2020-11-08 17:15:48 +01:00
linereader.h Fix some variable name's style 2020-11-08 17:15:48 +01:00
map.cpp Add menu background map 2020-09-23 23:38:28 +02:00
map.h Add menu background map 2020-09-23 23:38:28 +02:00
masterserver.cpp Adopt upstream refactoring: Mark several functions as 'const' 2021-02-23 18:26:16 +03:00
memheap.cpp Fix alignment for CVoteOptionServer 2021-05-27 19:35:20 +02:00
memheap.h Fix alignment for CVoteOptionServer 2021-05-27 19:35:20 +02:00
netban.cpp Increase max ban duration from 1 month to 1 year 2021-03-08 18:15:00 +01:00
netban.h Banned for life -> Banned 2021-03-19 15:02:28 +01:00
network.cpp Fix some variable name's style 2020-11-08 17:15:48 +01:00
network.h uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
network_client.cpp Adopt upstream refactoring: Mark several functions as 'const' 2021-02-23 18:26:16 +03:00
network_conn.cpp uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
network_console.cpp Fix some variable name's style 2020-11-08 17:15:48 +01:00
network_console_conn.cpp Run clang-format 2020-09-26 21:50:15 +02:00
network_server.cpp uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
packer.cpp Run clang-format 2020-09-26 21:50:15 +02:00
packer.h Run clang-format 2020-09-26 21:50:15 +02:00
protocol.h Bump version for the new protocol to DDNet 15.4 2021-02-24 17:09:39 +01:00
protocol_ex.cpp Run clang-format 2020-09-26 21:50:15 +02:00
protocol_ex.h Add PINGEX and PONGEX messages that are correlatable 2021-05-14 01:01:08 +02:00
protocol_ex_msgs.h Add PINGEX and PONGEX messages that are correlatable 2021-05-14 01:01:08 +02:00
ringbuffer.cpp Run clang-format 2020-09-26 21:50:15 +02:00
ringbuffer.h Fix some variable name's style 2020-11-08 17:15:48 +01:00
serverinfo.cpp use minimum instead of std::min 2021-08-20 17:16:18 +02:00
serverinfo.h Fix long maps not showing as finished (fixes #4092) 2021-08-21 09:30:32 +02:00
snapshot.cpp uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
snapshot.h uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
storage.cpp fix fs_listdir and fs_listdir_fileinfo with unicode on windows 2021-08-23 12:49:15 +02:00
teehistorian_ex.cpp Run clang-format 2020-09-26 21:50:15 +02:00
teehistorian_ex.h Run clang-format 2020-09-26 21:50:15 +02:00
teehistorian_ex_chunks.h Run clang-format 2020-09-26 21:50:15 +02:00
uuid_manager.cpp Allow ParseUuid to report errors and add tests 2021-01-23 01:21:20 +01:00
uuid_manager.h Allow ParseUuid to report errors and add tests 2021-01-23 01:21:20 +01:00
video.cpp uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
video.h uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
websockets.cpp Use cpp 2021-06-24 17:19:17 +02:00
websockets.h Make sure headers compile standalone 2020-09-26 21:50:27 +02:00