From 9d26e6b5088c10b1f565e31b9a273e6ed48cad38 Mon Sep 17 00:00:00 2001 From: ultramage Date: Thu, 4 Jan 2007 18:33:53 +0000 Subject: - Updated /doc from jAthena - Completed adding of the new cities to @go > that function is ugly and needs a complete rewrite, asap - Updated thor volcano warps git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9615 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/mapindex.h | 1 + src/common/socket.c | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src/common') diff --git a/src/common/mapindex.h b/src/common/mapindex.h index b5ca54180..7a0286adf 100644 --- a/src/common/mapindex.h +++ b/src/common/mapindex.h @@ -32,6 +32,7 @@ extern char mapindex_cfgfile[80]; #define MAP_RACHEL "rachel.gat" #define MAP_VEINS "veins.gat" #define MAP_JAIL "sec_pri.gat" +#define MAP_NOVICE "new_zone01.gat" unsigned short mapindex_name2id(char*); const char* mapindex_id2name(unsigned short); void mapindex_init(void); diff --git a/src/common/socket.c b/src/common/socket.c index ad33c28db..829bd1a56 100644 --- a/src/common/socket.c +++ b/src/common/socket.c @@ -214,8 +214,6 @@ static int send_from_fifo(int fd) if (len == SOCKET_ERROR) { if (s_errno == S_ECONNABORTED) { ShowWarning("send_from_fifo: Software caused connection abort on session #%d\n", fd); - session[fd]->wdata_size = 0; //Clear the send queue as we can't send anymore. [Skotlex] - set_eof(fd); FD_CLR(fd, &readfds); //Remove the socket so the select() won't hang on it. } if (s_errno != S_EWOULDBLOCK) { -- cgit v1.2.3-70-g09d2