Chris-plus-alphanumericgibberish / dnethack

A variant of nethack 3.4.3
35 stars 13 forks source link

code quality - burn_away_slime function is better that copy pasting the same code #3

Closed matkoniecz closed 11 years ago

matkoniecz commented 11 years ago

https://github.com/Chris-plus-alphanumericgibberish/dnethack/commit/f167bb7bd5568288c1e54f7581ae34499d7945fd

  if (Slimed) {
    pline("The slime that covers you is burned away!");
    Slimed = 0;
  }

may be replaced by

burn_away_slime()

from timeout.c

Chris-plus-alphanumericgibberish commented 11 years ago

I fixed the issues you identified. Thanks!