From 64278f84045f73343b02ef8d724b9f6fc1beda4a Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 19 Jun 2006 14:45:26 +0000 Subject: - Removed the mysterious array of two of char_dat (char/sql server), replaced it with a static structure. - Added function char_loadName to extract the character name of a given ID. - Fixed fame-list updating crashing char-sql server when the given char-id just got into ranking. - Sorry I didn't check if it compiles cleanly because I don't have sql here <.< (am gonna test it in a second, though) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7248 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/chrif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/chrif.c') diff --git a/src/map/chrif.c b/src/map/chrif.c index 47704002f..70dad71ab 100644 --- a/src/map/chrif.c +++ b/src/map/chrif.c @@ -585,7 +585,7 @@ int chrif_searchcharid(int char_id) return -1; chrif_check(-1); - WFIFOHEAD(char_fd, 6); + WFIFOHEAD(char_fd, 6); WFIFOW(char_fd,0) = 0x2b08; WFIFOL(char_fd,2) = char_id; WFIFOSET(char_fd,6); -- cgit v1.2.3-70-g09d2