remove redundant condition on adj_pit_checks()

supporting is never null, as outer if statement checks it.
This commit is contained in:
SHIRAKATA Kentaro
2022-02-09 05:14:26 +09:00
committed by PatR
parent d6ab241b8c
commit 949c30dffa

View File

@@ -1667,9 +1667,8 @@ adj_pit_checks(coord *cc, char *msg)
supporting = "drawbridge";
if (supporting) {
Sprintf(msg, "The %s%ssupporting structures remain intact.",
supporting ? s_suffix(supporting) : "",
supporting ? " " : "");
Sprintf(msg, "The %s supporting structures remain intact.",
s_suffix(supporting));
return FALSE;
}
}