From e20b45a383855e39a0fd02985f79938e7013c2c6 Mon Sep 17 00:00:00 2001 From: Allanis Date: Fri, 30 Aug 2013 16:47:12 +0100 Subject: [PATCH] [Fix] Resource editor somehow destroyed all the planet techs. --- dat/planet.xml | 14 +++++++------- src/land.c | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dat/planet.xml b/dat/planet.xml index 6e802c8..fcd73ff 100644 --- a/dat/planet.xml +++ b/dat/planet.xml @@ -20,7 +20,7 @@ Medicine -
0
+
5
0
31 @@ -101,7 +101,7 @@ Industrial Goods -
0
+
9
0
31 @@ -125,7 +125,7 @@ Food -
0
+
7
0
7 @@ -187,7 +187,7 @@ Industrial Goods -
0
+
5
7 G @@ -230,7 +230,7 @@ Industrial Goods -
0
+
7
0
7 @@ -255,7 +255,7 @@ Medicine -
0
+
9
0
15 @@ -283,7 +283,7 @@ Luxury Goods -
0
+
15
0
31 diff --git a/src/land.c b/src/land.c index c0b403c..a0ca39d 100644 --- a/src/land.c +++ b/src/land.c @@ -295,7 +295,7 @@ static void outfits_open(void) { if(noutfits <= 0) { /* No outfits. */ soutfits = malloc(sizeof(char*)); - soutfits = strdup("None"); + soutfits[0] = strdup("None"); noutfits = 1; }