diff --git a/res/e3a/races.xml b/res/e3a/races.xml
index c82f58b8c..07322d521 100644
--- a/res/e3a/races.xml
+++ b/res/e3a/races.xml
@@ -40,7 +40,7 @@
-
+
@@ -67,7 +67,7 @@
-
+
@@ -95,7 +95,7 @@
-
+
@@ -116,7 +116,7 @@
-
+
@@ -138,7 +138,7 @@
-
+
@@ -160,7 +160,7 @@
-
+
@@ -186,7 +186,7 @@
-
+
diff --git a/res/eressea/races.xml b/res/eressea/races.xml
index 7b3dbb141..851d89de6 100644
--- a/res/eressea/races.xml
+++ b/res/eressea/races.xml
@@ -19,7 +19,7 @@
-
+
@@ -748,7 +748,7 @@
-
+
@@ -773,7 +773,7 @@
-
+
@@ -805,7 +805,7 @@
-
+
@@ -833,7 +833,7 @@
-
+
@@ -863,7 +863,7 @@
-
+
@@ -893,7 +893,7 @@
-
+
@@ -917,7 +917,7 @@
-
+
@@ -1108,7 +1108,7 @@
-
+
@@ -1134,7 +1134,7 @@
-
+
@@ -1165,7 +1165,7 @@
-
+
@@ -1195,7 +1195,7 @@
-
+
diff --git a/res/races/aquarian.xml b/res/races/aquarian.xml
index 19fd3aee7..4950d60d1 100644
--- a/res/races/aquarian.xml
+++ b/res/races/aquarian.xml
@@ -10,7 +10,7 @@
-
+
diff --git a/res/races/cat.xml b/res/races/cat.xml
index 5986c223c..2e0f73dcf 100644
--- a/res/races/cat.xml
+++ b/res/races/cat.xml
@@ -17,7 +17,7 @@
-
+
diff --git a/res/races/demon.xml b/res/races/demon.xml
index 69d98145f..21a1f289d 100644
--- a/res/races/demon.xml
+++ b/res/races/demon.xml
@@ -27,7 +27,7 @@ recruitethereal="yes" equipment="yes" healing="1.5">
-
+
diff --git a/res/races/dwarf.xml b/res/races/dwarf.xml
index 043b76aa7..4f2719649 100644
--- a/res/races/dwarf.xml
+++ b/res/races/dwarf.xml
@@ -23,7 +23,7 @@
-
+
diff --git a/res/races/elf.xml b/res/races/elf.xml
index 683ee823b..968ad22f2 100644
--- a/res/races/elf.xml
+++ b/res/races/elf.xml
@@ -18,7 +18,7 @@
-
+
diff --git a/res/races/goblin-3.xml b/res/races/goblin-3.xml
index 9eb7ea835..f9d559f58 100644
--- a/res/races/goblin-3.xml
+++ b/res/races/goblin-3.xml
@@ -21,7 +21,7 @@ getitem="yes" equipment="yes" healing="2.0">
-
+
diff --git a/res/races/goblin.xml b/res/races/goblin.xml
index 84d2c5079..ec224a0c7 100644
--- a/res/races/goblin.xml
+++ b/res/races/goblin.xml
@@ -21,7 +21,7 @@ healing="2.0">
-
+
diff --git a/res/races/halfling.xml b/res/races/halfling.xml
index 1f326056f..22001df7d 100644
--- a/res/races/halfling.xml
+++ b/res/races/halfling.xml
@@ -24,7 +24,7 @@
-
+
diff --git a/res/races/human.xml b/res/races/human.xml
index f91ba7daf..00c11f8a6 100644
--- a/res/races/human.xml
+++ b/res/races/human.xml
@@ -7,7 +7,7 @@
-
+
diff --git a/res/races/insect.xml b/res/races/insect.xml
index 75e16f7af..b783f047a 100644
--- a/res/races/insect.xml
+++ b/res/races/insect.xml
@@ -20,7 +20,7 @@
-
+
diff --git a/res/races/orc.xml b/res/races/orc.xml
index a0033759a..47754152a 100644
--- a/res/races/orc.xml
+++ b/res/races/orc.xml
@@ -22,7 +22,7 @@
-
+
diff --git a/res/races/troll.xml b/res/races/troll.xml
index 9168a6d0e..7d3f18551 100644
--- a/res/races/troll.xml
+++ b/res/races/troll.xml
@@ -27,7 +27,7 @@ healing="1.5">
-
+
diff --git a/scripts/tests/e3/buildings.lua b/scripts/tests/e3/buildings.lua
index 709e7df74..e642c1aa7 100644
--- a/scripts/tests/e3/buildings.lua
+++ b/scripts/tests/e3/buildings.lua
@@ -41,6 +41,11 @@ function test_build_watch()
u:add_order("MACHE Wache")
process_orders()
assert_not_nil(u.building)
+ if 5 ~= u.building.size then
+ for k,v in f.messages do
+ print(v)
+ end
+ end
assert_equal(5, u.building.size)
u:set_skill("building", 2)
diff --git a/src/xmlreader.c b/src/xmlreader.c
index 26d706fae..53a8c1365 100644
--- a/src/xmlreader.c
+++ b/src/xmlreader.c
@@ -1461,13 +1461,7 @@ static int parse_races(xmlDocPtr doc)
assert(propValue != NULL);
frc = rc_get_or_create((const char *)propValue);
frc->flags |= RCF_FAMILIAR;
- if (xml_bvalue(node, "default", false)) {
- rc->familiars[k] = rc->familiars[0];
- rc->familiars[0] = frc;
- }
- else {
- rc->familiars[k] = frc;
- }
+ rc->familiars[k] = frc;
xmlFree(propValue);
}
else {