From b1ab4d8e2708b56423b899a35c0d6651b7290499 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sat, 3 Sep 2005 06:56:33 +0000 Subject: [PATCH] Add range for relay errors. --- common/util.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/util.h b/common/util.h index 371acf619..c58eb3890 100644 --- a/common/util.h +++ b/common/util.h @@ -29,6 +29,8 @@ #include "vtabmgr.h" #include "comms.h" +#include "xwrelay.h" + #define LETTER_NONE '\0' typedef enum { @@ -52,7 +54,8 @@ typedef enum { /* ERR_NOT_YOUR_TURN_TO_MOVE, */ ERR_CANT_UNDO_TILEASSIGN, - ERR_RELAY_ERROR + ERR_RELAY_BASE, + ERR_RELAY_END = ERR_RELAY_BASE + XWRELAY_ERROR_LASTERR } UtilErrID; typedef enum {