From a3bef667d15bdfea0c85b46c210808b794d57ed9 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 22 Aug 2005 20:10:03 +0000 Subject: [PATCH] initializing oldrace, sanity checks. --- src/common/kernel/xmlreader.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/kernel/xmlreader.c b/src/common/kernel/xmlreader.c index d0653df95..7c2a81b10 100644 --- a/src/common/kernel/xmlreader.c +++ b/src/common/kernel/xmlreader.c @@ -524,6 +524,9 @@ race_compat(void) if (rc == new_race[RC_TROLL]) { a_add(&rc->attribs, make_skillmod(NOSKILL, SMF_RIDING, NULL, 0.0, -1)); } + } else { + log_error(("could not find old race %s\n", oldracenames[i])); + assert(rc); } } }