Remove workarounds for ancient compilers
This commit is contained in:
@@ -1330,16 +1330,7 @@ int mmflags;
|
||||
if (uwep && uwep->oartifact == ART_EXCALIBUR)
|
||||
mtmp->mpeaceful = mtmp->mtame = FALSE;
|
||||
}
|
||||
#ifndef DCC30_BUG
|
||||
if (mndx == PM_LONG_WORM && (mtmp->wormno = get_wormno()) != 0)
|
||||
#else
|
||||
/* DICE 3.0 doesn't like assigning and comparing mtmp->wormno in the
|
||||
same expression. */
|
||||
if (mndx == PM_LONG_WORM
|
||||
&& (mtmp->wormno = get_wormno(), mtmp->wormno != 0))
|
||||
#endif
|
||||
{
|
||||
/* we can now create worms with tails - 11/91 */
|
||||
if (mndx == PM_LONG_WORM && (mtmp->wormno = get_wormno()) != 0) {
|
||||
initworm(mtmp, rn2(5));
|
||||
if (count_wsegs(mtmp))
|
||||
place_worm_tail_randomly(mtmp, x, y);
|
||||
|
||||
Reference in New Issue
Block a user