Pass vcsegidx to multi_send_boss_teleport
This commit is contained in:
parent
31f330c0ff
commit
d7ea84aa36
|
@ -46,7 +46,7 @@ void multi_send_robot_explode(objptridx_t objnum, objnum_t killer);
|
|||
void multi_send_create_robot(int robotcen, objnum_t objnum, int type);
|
||||
#ifdef dsx
|
||||
namespace dsx {
|
||||
void multi_send_boss_teleport(vobjptridx_t bossobjnum, segnum_t where);
|
||||
void multi_send_boss_teleport(vobjptridx_t bossobjnum, vcsegidx_t where);
|
||||
}
|
||||
#endif
|
||||
void multi_send_boss_cloak(objnum_t bossobjnum);
|
||||
|
|
|
@ -624,7 +624,7 @@ static inline void multi_send_boss_action(objnum_t bossobjnum, Args&&... args)
|
|||
}
|
||||
|
||||
namespace dsx {
|
||||
void multi_send_boss_teleport(const vobjptridx_t bossobj, segnum_t where)
|
||||
void multi_send_boss_teleport(const vobjptridx_t bossobj, const vcsegidx_t where)
|
||||
{
|
||||
// Boss is up for grabs after teleporting
|
||||
Assert((bossobj->ctype.ai_info.REMOTE_SLOT_NUM >= 0) && (bossobj->ctype.ai_info.REMOTE_SLOT_NUM < MAX_ROBOTS_CONTROLLED));
|
||||
|
|
Loading…
Reference in a new issue