|
@@ -188,7 +188,7 @@ int unit_teleport_timer(int tid, unsigned int tick, int id, intptr_t data)
|
|
|
TBL_PC *msd = unit_get_master(bl);
|
|
|
if(msd && !check_distance_bl(&msd->bl, bl, data)) {
|
|
|
*mast_tid = INVALID_TIMER;
|
|
|
- unit_warp(bl, msd->bl.id, msd->bl.x, msd->bl.y, CLR_TELEPORT );
|
|
|
+ unit_warp(bl, msd->bl.m, msd->bl.x, msd->bl.y, CLR_TELEPORT );
|
|
|
}
|
|
|
else // No timer needed
|
|
|
*mast_tid = INVALID_TIMER;
|