diff options
author | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-21 16:19:25 +0000 |
---|---|---|
committer | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-21 16:19:25 +0000 |
commit | e8b3eecf9e259b11fc01e3856df14ddd77b5d631 (patch) | |
tree | 95d613d71f84038d1d8611c139b0f154236267d5 /src/char_sql | |
parent | 51fe7bd67c35e60e46ea47d485f25eaefccc87a6 (diff) | |
download | hercules-e8b3eecf9e259b11fc01e3856df14ddd77b5d631.tar.gz hercules-e8b3eecf9e259b11fc01e3856df14ddd77b5d631.tar.bz2 hercules-e8b3eecf9e259b11fc01e3856df14ddd77b5d631.tar.xz hercules-e8b3eecf9e259b11fc01e3856df14ddd77b5d631.zip |
Made some cleanup in changesex
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12626 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql')
-rw-r--r-- | src/char_sql/char.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c index e07bd8574..8066dc629 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -2599,7 +2599,7 @@ int parse_frommap(int fd) Sql_FreeResult(sql_handle); // send answer if a player ask, not if the server ask - if( acc != -1 ) { + if( acc != -1 && type != 5) { // Don't send answer for changesex WFIFOHEAD(fd,34); WFIFOW(fd, 0) = 0x2b0f; WFIFOL(fd, 2) = acc; |