diff --git a/d2x-rebirth/main/gauges.c b/d2x-rebirth/main/gauges.c index ec8dd638c..a3b08f1db 100644 --- a/d2x-rebirth/main/gauges.c +++ b/d2x-rebirth/main/gauges.c @@ -1070,9 +1070,6 @@ char *d2_very_short_secondary_weapon_names[] = ((weapon_num <= MEGA_INDEX)?(*(&TXT_CONCUSSION + (weapon_num))): \ d2_very_short_secondary_weapon_names[weapon_num-SMISSILE1_INDEX]) -//return which bomb will be dropped next time the bomb key is pressed -extern int which_bomb(); - void show_bomb_count(int x,int y,int bg_color,int always_show,int right_align) { int bomb,count,w=0,h=0,aw=0; diff --git a/d2x-rebirth/main/laser.c b/d2x-rebirth/main/laser.c index 806306768..9cb63fd18 100644 --- a/d2x-rebirth/main/laser.c +++ b/d2x-rebirth/main/laser.c @@ -1989,8 +1989,6 @@ void release_guided_missile(int player_num) int Proximity_dropped=0,Smartmines_dropped=0; -extern int which_bomb(); - // ------------------------------------------------------------------------------------------- //changed on 31/3/10 by kreatordxx to distinguish between drop bomb and secondary fire void do_missile_firing(int drop_bomb) diff --git a/d2x-rebirth/main/weapon.h b/d2x-rebirth/main/weapon.h index fca0bdc26..4addfb401 100644 --- a/d2x-rebirth/main/weapon.h +++ b/d2x-rebirth/main/weapon.h @@ -230,4 +230,7 @@ extern void init_smega_detonates(void); */ extern int weapon_info_read_n(weapon_info *wi, int n, PHYSFS_file *fp, int file_version); +//return which bomb will be dropped next time the bomb key is pressed +int which_bomb(void); + #endif