Skip to content

Commit

Permalink
conqoper: fix clang++ warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jontrulson committed Jun 19, 2019
1 parent 90c3a35 commit 8603473
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions src/conqoper.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -645,21 +645,24 @@ void debugdisplay( int snum )
lin++;
switch(cbShips[snum].torps[i].status)
{
case TS_OFF:
torpstr = TOFF;
break;
case TS_LAUNCHING:
torpstr = TLAUNCHING;
break;
case TS_LIVE:
torpstr = TLIVE;
break;
case TS_DETONATE:
torpstr = TDETONATE;
break;
case TS_FIREBALL:
torpstr = TFIREBALL;
break;
case TS_OFF:
torpstr = TOFF;
break;
case TS_LAUNCHING:
torpstr = TLAUNCHING;
break;
case TS_LIVE:
torpstr = TLIVE;
break;
case TS_DETONATE:
torpstr = TDETONATE;
break;
case TS_FIREBALL:
torpstr = TFIREBALL;
break;
default:
/* NOTHING */
break;
}
cprintf(lin,3,ALIGN_NONE,"#%d#%s",InfoColor, torpstr);
if ( cbShips[snum].torps[i].status != TS_OFF )
Expand Down

0 comments on commit 8603473

Please sign in to comment.