warning bit
Avoid gcc's inaccurate warning about mattk possibly being used before being set in do_breathe().
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* SCCS Id: @(#)monattk.h 3.4 1995/01/28 */
|
||||
/* SCCS Id: @(#)monattk.h 3.4 2002/03/24 */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
/* Copyright 1988, M. Stephenson */
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
/* Add new attack types below - ordering affects experience (exper.c).
|
||||
* Attacks > AT_BUTT are worth extra experience.
|
||||
*/
|
||||
#define AT_ANY (-1) /* fake attack; dmgtype_fromattack wildcard */
|
||||
#define AT_NONE 0 /* passive monster (ex. acid blob) */
|
||||
#define AT_CLAW 1 /* claw (punch, hit, etc.) */
|
||||
#define AT_BITE 2 /* bite */
|
||||
@@ -32,6 +33,7 @@
|
||||
* Note that 1-10 correspond to the types of attack used in buzz().
|
||||
* Please don't disturb the order unless you rewrite the buzz() code.
|
||||
*/
|
||||
#define AD_ANY (-1) /* fake damage; attacktype_fordmg wildcard */
|
||||
#define AD_PHYS 0 /* ordinary physical */
|
||||
#define AD_MAGM 1 /* magic missiles */
|
||||
#define AD_FIRE 2 /* fire damage */
|
||||
|
||||
Reference in New Issue
Block a user