a few constants that don't need to be octal at all
This commit is contained in:
@@ -76,9 +76,9 @@ struct objclass {
|
||||
#define IMMEDIATE 2 /* directional beam that doesn't ricochet */
|
||||
#define RAY 3 /* beam that does bounce off walls */
|
||||
/* overloaded oc_dir: strike mode bit mask for weapons and weptools */
|
||||
#define PIERCE 01 /* pointed weapon punctures target */
|
||||
#define SLASH 02 /* sharp weapon cuts target */
|
||||
#define WHACK 04 /* blunt weapon bashes target */
|
||||
#define PIERCE 1 /* pointed weapon punctures target */
|
||||
#define SLASH 2 /* sharp weapon cuts target */
|
||||
#define WHACK 4 /* blunt weapon bashes target */
|
||||
Bitfield(oc_material, 5); /* one of obj_material_types */
|
||||
|
||||
schar oc_subtyp;
|
||||
|
||||
@@ -1208,7 +1208,7 @@ getlev(NHFILE *nhfp, int pid, xint8 lev)
|
||||
them is different now than when the level was saved */
|
||||
restore_cham(mtmp);
|
||||
/* give hiders a chance to hide before their next move */
|
||||
if (ghostly || (elapsed > 00 && elapsed > (long) rnd(10)))
|
||||
if (ghostly || (elapsed > 0L && elapsed > (long) rnd(10)))
|
||||
hide_monst(mtmp);
|
||||
}
|
||||
#endif /* !SFCTOOL */
|
||||
|
||||
Reference in New Issue
Block a user