define WT_ macros in a header file
A recently added #undef WT_ELF caused a onefile build to break. trap.c: In function 'trapeffect_landmine': trap.c:2346:41: error: 'WT_ELF' undeclared (first use in this function); did you mean 'PM_ELF'? trap.c:2346:41: note: each undeclared identifier is reported only once for each function it appears in
This commit is contained in:
+3
-2
@@ -28,10 +28,11 @@ struct attack {
|
||||
|
||||
#define NATTK 6
|
||||
|
||||
/* Weight of a human body
|
||||
/* Weight of human body, elf, dragon
|
||||
*/
|
||||
|
||||
#define WT_HUMAN 1450
|
||||
#define WT_ELF 800
|
||||
#define WT_DRAGON 4500
|
||||
|
||||
#ifndef ALIGN_H
|
||||
#include "align.h"
|
||||
|
||||
Reference in New Issue
Block a user