| version 1.2 | | version 1.3 |
|---|
| | |
| * Code for powerup objects. | | * Code for powerup objects. |
| * | | * |
| * $Log$ | | * $Log$ |
| | | * Revision 1.3 2000/11/13 07:15:38 donut |
| | | * fix autoselecting lasers even if primary autoselect turned off |
| | | * |
| * Revision 1.2 1999/09/01 01:09:10 sekmu | | * Revision 1.2 1999/09/01 01:09:10 sekmu |
| * forgot update for quad powerup for new hud views | | * forgot update for quad powerup for new hud views |
| * | | * |
| | |
| gauge_update_hud_mode=1; | | gauge_update_hud_mode=1; |
| //end this section addition -VR | | //end this section addition -VR |
| used=1; | | used=1; |
| | | if (Allow_primary_cycle){//fix laser select even if autoselect off -MPM |
| if(Players[Player_num].flags&PLAYER_FLAGS_QUAD_LASERS) | | if(Players[Player_num].flags&PLAYER_FLAGS_QUAD_LASERS) |
| maybe_select_primary(9+Players[Player_num].laser_level); | | maybe_select_primary(9+Players[Player_num].laser_level); |
| else | | else |
| maybe_select_primary(5+Players[Player_num].laser_level); | | maybe_select_primary(5+Players[Player_num].laser_level); |
| } | | } |
| | | } |
| if (!used && !(Game_mode & GM_MULTI) ) | | if (!used && !(Game_mode & GM_MULTI) ) |
| used = pick_up_energy(); | | used = pick_up_energy(); |
| break; | | break; |
| | |
| //end this section addition -VR | | //end this section addition -VR |
| //added on 10/8/98 by Victor Rachels for quad autoselect | | //added on 10/8/98 by Victor Rachels for quad autoselect |
| //changed on 10/21/98 by Victor Rachels to add other lasers | | //changed on 10/21/98 by Victor Rachels to add other lasers |
| | | if (Allow_primary_cycle)//fix laser select even if autoselect off -MPM |
| maybe_select_primary(9+Players[Player_num].laser_level); | | maybe_select_primary(9+Players[Player_num].laser_level); |
| //end change | | //end change |
| //end this section addition | | //end this section addition |