ddnet/src/game/client
Robert Müller 95636da6d9 Fix out of bounds access with highlighted messages in server demos
```
src/game/client/components/chat.cpp:795:89: runtime error: index -1 out of bounds for type 'CClientData [64]'
    #0 0x55c133fd047a in CChat::AddLine(int, int, char const*) src/game/client/components/chat.cpp:795
    #1 0x55c133fc80b5 in CChat::OnMessage(int, void*) src/game/client/components/chat.cpp:570
    #2 0x55c134677688 in CGameClient::OnMessage(int, CUnpacker*, int, bool) src/game/client/gameclient.cpp:770
    #3 0x55c133c282d2 in CClient::OnDemoPlayerMessage(void*, int) src/engine/client/client.cpp:2627
    #4 0x55c134ccdcba in CDemoPlayer::DoTick() src/engine/shared/demo.cpp:679
    #5 0x55c134cdac81 in CDemoPlayer::Update(bool) src/engine/shared/demo.cpp:1007
    #6 0x55c133c2a08b in CClient::Update() src/engine/client/client.cpp:2686
    #7 0x55c133c4c9eb in CClient::Run() src/engine/client/client.cpp:3296
    #8 0x55c133cbd64f in main src/engine/client/client.cpp:4761
```
2022-07-21 15:32:11 +02:00
..
components Fix out of bounds access with highlighted messages in server demos 2022-07-21 15:32:11 +02:00
prediction prediction/entity: Add GetPos() (sync the API with server/entity) 2022-07-14 23:40:23 +03:00
animstate.cpp Organize game-client includes 2022-05-29 21:24:43 +02:00
animstate.h Remove unnecessary trailing semicolons after method declarations 2022-03-08 20:01:26 +01:00
component.cpp Allow multiple addresses per server in the serverbrowser 2022-07-10 16:52:07 +02:00
component.h Allow multiple addresses per server in the serverbrowser 2022-07-10 16:52:07 +02:00
gameclient.cpp Rename "NoSomething" to "SomethingDisabled" 2022-07-11 13:40:01 +02:00
gameclient.h Rename "NoSomething" to "SomethingDisabled" 2022-07-11 13:40:01 +02:00
lineinput.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
lineinput.h m_DisplayStr -> m_aDisplayStr 2022-03-31 12:52:24 +02:00
projectile_data.cpp Organize game-shared includes 2022-06-17 17:39:25 +02:00
projectile_data.h force tunezone 2021-04-23 11:01:38 +08:00
race.cpp Organize game-client includes 2022-05-29 21:24:43 +02:00
race.h Organize game-client includes 2022-05-29 21:24:43 +02:00
render.cpp Use DrawRoundRectExt instead of DrawRoundRect and remove the latter 2022-07-10 17:19:35 +02:00
render.h Use DrawRoundRectExt instead of DrawRoundRect and remove the latter 2022-07-10 17:19:35 +02:00
render_map.cpp Replace 3.14159265f with 'pi' from math.h 2022-07-09 19:19:21 +03:00
skin.h Huge variable naming format 2022-07-08 18:01:29 +02:00
ui.cpp Make UI inputs more secure 2022-07-11 18:56:36 +02:00
ui.h Adapt upstreams CButtonContainer 2022-07-18 10:23:03 +02:00
ui_ex.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
ui_ex.h Organize game-client and editor includes 2022-06-17 20:32:56 +02:00