]> git.pond.sub.org Git - empserver/blobdiff - src/lib/common/ef_verify.c
ef_verify: Fix error message in verify_land_chr()
[empserver] / src / lib / common / ef_verify.c
index 9b878cbc58eb97f894c0c84bf8362e6db6e90dfb..c5c057ea9535ef48ef535ac60aa356a577b84015 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2016, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2017, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                Ken Stevens, Steve McClure, Markus Armbruster
  *
  *  Empire is free software: you can redistribute it and/or modify
@@ -175,7 +175,7 @@ verify_row(int type, int row)
                continue;
            }
            if (ca[i].ca_table == type && i == 0) {
-               /* uid */
+               /* UID */
                if (val.val_as.lng != row) {
                    verify_fail(type, row, &ca[i], j,
                                "value is %ld instead of %d",
@@ -368,7 +368,7 @@ verify_land_chr(void)
        if (!lchr[i].l_name[0])
            continue;
        if ((lchr[i].l_flags & L_SPY) && lchr[i].l_item[I_MILIT]) {
-           verify_fail(EF_PLANE_CHR, i, NULL, 0,
+           verify_fail(EF_LAND_CHR, i, NULL, 0,
                        "flag %s requires zero milit",
                        symbol_by_value(L_SPY, land_chr_flags));
            retval = -1;
@@ -376,6 +376,7 @@ verify_land_chr(void)
     }
     return retval;
 }
+
 static int
 verify_products(void)
 {