Shut up a compile-time warning in makeitem.cc.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1379 c06c8d41-db1a-0410-9941-cceddc491573
EIHGPFT3BQM7I76T3MITHSNFMDNNBWLUGEVQHTXID6UJQHVRNSDAC
L6SQXI6VUPDACCYYJAOHBRDPXMIBLLVVDSRADTEIEPJSZMYRBNRQC
DTO3EUKWHZ5RJNGNCFYXSOVTIPVXPP637F2W7WFGYKJ7JK7VNKNQC
RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
74LQ7JXVLAFSHLI7LCBKFX47CNTYSKGUQSXNX5FCIUIGCC2JTR3QC
case 0: return RED; case 1: return LIGHTBLUE; case 2: return MAGENTA;
case 0: return RED;
case 1: return LIGHTBLUE;
case 2: return MAGENTA;
case 0: return RED; case 1: return LIGHTBLUE; case 2: return MAGENTA; default: return RED; // compiler warnings, hush
default: return RED; // compiler warnings, hush
return; // maybe we can remove the YOU_KILL... if ( grid_destroys_items(grd[x][y]) && YOU_KILL(beam.thrower) ) { mprf(MSGCH_SOUND, grid_item_destruction_message(grd[x][y]));
return;
// maybe we can remove the YOU_KILL...
if ( grid_destroys_items(grd[x][y]) && YOU_KILL(beam.thrower) )
{
mprf(MSGCH_SOUND, grid_item_destruction_message(grd[x][y]));
}
else if (MON_KILL(beam.thrower) // monster threw it. && !grid_destroys_items(grd[x][y]) && coinflip())
else if (MON_KILL(beam.thrower) // monster threw it.
&& !grid_destroys_items(grd[x][y]) && coinflip())
else if (MON_KILL(beam.thrower) && coinflip()) // monster threw it.