]> git.xonotic.org Git - xonotic/darkplaces.git/commit
net_slist: update types, declarations
authorbones_was_here <bones_was_here@xonotic.au>
Fri, 3 Nov 2023 09:15:06 +0000 (19:15 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Mon, 4 Dec 2023 08:08:36 +0000 (18:08 +1000)
commit44062df4df97288f0c76edd003f4e6d809add1c3
treeb14410dd22d2f3b9917b2074b1c63b937f0da382
parent285b4dceb36e18ef47a2655cd665e8413f7057fe
net_slist: update types, declarations

Mostly this changes array indices and externally-sourced data that
should never trigger signed overflow to unsigned,
and changes to lhnetaddresstype_t where applicable.

Fixes an old bug in the DP Quake server list where if there are less
servers than the most that could fit onscreen, the list jumps around
and/or duplicates entries when moving the cursor down.

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
lhnet.c
lhnet.h
menu.c
mvm_cmds.c
netconn.c
netconn.h