(svn r3282) - Codechange: Replace tests against CMD_ERROR with CmdFailed()

This commit is contained in:
2005-12-10 12:05:39 +00:00
parent 6a6e145010
commit 809b03c81a
11 changed files with 35 additions and 36 deletions

View File

@@ -59,7 +59,7 @@ static void LandInfoWndProc(Window *w, WindowEvent *e)
DrawStringCentered(140, 27, STR_01A7_OWNER, 0);
str = STR_01A4_COST_TO_CLEAR_N_A;
if (lid->costclear != CMD_ERROR) {
if (!CmdFailed(lid->costclear)) {
SetDParam(0, lid->costclear);
str = STR_01A5_COST_TO_CLEAR;
}