diff --git a/Multiplayer/client.cpp b/Multiplayer/client.cpp index 79d30606..efeb2479 100644 --- a/Multiplayer/client.cpp +++ b/Multiplayer/client.cpp @@ -1275,7 +1275,7 @@ UINT8 numenemyLAN( UINT8 ubSectorX, UINT8 ubSectorY ) return ubNumEnemies; } -void send_AI( SOLDIERCREATE_STRUCT *pCreateStruct, UINT16 * pubID ) +void send_AI( SOLDIERCREATE_STRUCT *pCreateStruct ) { AI_STRUCT send_inv; send_inv.standard_data = *pCreateStruct; diff --git a/Multiplayer/connect.h b/Multiplayer/connect.h index 349d524d..a85ea281 100644 --- a/Multiplayer/connect.h +++ b/Multiplayer/connect.h @@ -104,7 +104,7 @@ void send_gui_dir(SOLDIERTYPE *pSoldier, UINT16 usNewDirection); void send_EndTurn( UINT8 ubNextTeam ); -void send_AI( SOLDIERCREATE_STRUCT *pCreateStruct, UINT16 * pubID ); +void send_AI( SOLDIERCREATE_STRUCT *pCreateStruct ); void send_stop (EV_S_STOP_MERC *SStopMerc); diff --git a/Tactical/Soldier Create.cpp b/Tactical/Soldier Create.cpp index ae841fb4..a5e41fd7 100644 --- a/Tactical/Soldier Create.cpp +++ b/Tactical/Soldier Create.cpp @@ -603,7 +603,7 @@ SOLDIERTYPE* TacticalCreateSoldier( SOLDIERCREATE_STRUCT *pCreateStruct, UINT16 } if ( is_server && tbTeam > OUR_TEAM && tbTeam < PLAYER_PLAN ) { - send_AI(pCreateStruct,pubID); + send_AI(pCreateStruct); } if(is_client && !is_server && tfPP==1) {