Follow up r16327 missing null pointer check on mercenary data.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16328 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
a01a3cbb21
commit
d3dcbae9ca
@ -194,7 +194,7 @@ static int unit_walktoxy_timer(int tid, unsigned int tick, int id, intptr_t data
|
||||
unit_warp( &sd->md->bl, sd->bl.m, sd->bl.x, sd->bl.y, CLR_TELEPORT );
|
||||
}
|
||||
}
|
||||
else
|
||||
else if( sd->md )
|
||||
{
|
||||
// reset the tick, he is not far anymore
|
||||
sd->md->masterteleport_timer = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user