Issue information

Issue ID
#4523
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Nov 2, 2010 10:02
Last Post
Hercules Elf Bot
Nov 2, 2010 10:02
Confirmation
N/A

Hercules Elf Bot - Nov 2, 2010 10:02

Originally posted by [b]zippymccrackin[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=4523

In revision 14442, you are adding a comparison check between two 'strings', however they are not string values. They're shorts.
CODE
strcmp(p->last_point.map, cp->last_point.map)


should be
CODE
(p->last_point.map != cp->last_point.map) ||


(also, you forgot the || at the end lol)