Fix comparison is always false warning
This commit is contained in:
parent
3121fb4990
commit
8e0579c4a6
|
@ -4,6 +4,7 @@ D1X-Rebirth Changelog
|
||||||
--------
|
--------
|
||||||
main/render.c: Initialise dyn_light using memset, fixing a warning
|
main/render.c: Initialise dyn_light using memset, fixing a warning
|
||||||
arch/include/event.h, arch/include/window.h, arch/sdl/event.c, arch/sdl/window.c, include/ui.h, ui/dialog.c, ui/file.c, ui/keypress.c, ui/menu.c, ui/message.c, ui/popup.c: Add support for 'modeless' windows - windows that will allow events to be passed on to the underlying window. Intended for the editor
|
arch/include/event.h, arch/include/window.h, arch/sdl/event.c, arch/sdl/window.c, include/ui.h, ui/dialog.c, ui/file.c, ui/keypress.c, ui/menu.c, ui/message.c, ui/popup.c: Add support for 'modeless' windows - windows that will allow events to be passed on to the underlying window. Intended for the editor
|
||||||
|
main/net_udp.c: Fix comparison is always false warning
|
||||||
|
|
||||||
20110927
|
20110927
|
||||||
--------
|
--------
|
||||||
|
|
|
@ -2463,7 +2463,7 @@ void net_udp_process_dump(ubyte *data, int len, struct _sockaddr sender_addr)
|
||||||
multi_reset_stuff();
|
multi_reset_stuff();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if (data[1] < DUMP_CLOSED || data[1] > DUMP_LEVEL) // invalid dump... heh
|
if (data[1] > DUMP_LEVEL) // invalid dump... heh
|
||||||
break;
|
break;
|
||||||
nm_messagebox(NULL, 1, TXT_OK, NET_DUMP_STRINGS(data[1]));
|
nm_messagebox(NULL, 1, TXT_OK, NET_DUMP_STRINGS(data[1]));
|
||||||
Network_status = NETSTAT_MENU;
|
Network_status = NETSTAT_MENU;
|
||||||
|
|
Loading…
Reference in a new issue