Add streq() and start finding places it fixes warnings.
Some type fixes from Michael Allison.
This commit is contained in:
@@ -3196,7 +3196,7 @@ wizterrainwish(struct _readobjnam_data *d)
|
||||
const char *tname;
|
||||
|
||||
tname = trapname(trap, TRUE);
|
||||
if (strncmpi(tname, bp, strlen(tname)))
|
||||
if(!streq(tname, bp, TRUE))
|
||||
continue;
|
||||
/* found it; avoid stupid mistakes */
|
||||
if (is_hole(trap) && !Can_fall_thru(&u.uz))
|
||||
|
||||
Reference in New Issue
Block a user