Made some cleanup in changesex

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12626 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
toms
2008-04-21 16:19:25 +00:00
parent 374603dc21
commit ccb23efe49
5 changed files with 9 additions and 14 deletions

View File

@@ -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;