Pass std::span to multi_do_bounty

This commit is contained in:
Kp 2022-07-30 17:42:59 +00:00
parent da138757e6
commit c5eeaa48cd

View file

@ -4775,7 +4775,7 @@ namespace dsx {
namespace {
static void multi_do_bounty( const ubyte *buf )
static void multi_do_bounty(multiplayer_rspan<MULTI_DO_BOUNTY> buf)
{
if ( multi_i_am_master() )
return;
@ -5831,7 +5831,8 @@ static void multi_process_data(const d_level_shared_robot_info_state &LevelShare
multi_do_kill_goal_counts(vmobjptr, multi_subspan_first<MULTI_KILLGOALS>(data));
break;
case MULTI_DO_BOUNTY:
multi_do_bounty( buf ); break;
multi_do_bounty(multi_subspan_first<MULTI_DO_BOUNTY>(data));
break;
case MULTI_TYPING_STATE:
multi_do_msgsend_state( buf ); break;
case MULTI_GMODE_UPDATE: