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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user