(svn r12709) -Feature: show the last joined server. Heavily based on a patch by Yexo.

This commit is contained in:
rubidium
2008-04-14 20:31:21 +00:00
parent f63bd286e0
commit 52d83de8d8
4 changed files with 60 additions and 27 deletions

View File

@@ -25,6 +25,8 @@ NetworkGameList *_network_game_list = NULL;
* @return a point to the newly added or already existing item */
NetworkGameList *NetworkGameListAddItem(uint32 ip, uint16 port)
{
if (ip == 0) return NULL;
NetworkGameList *item, *prev_item;
prev_item = NULL;