diff --git a/conf/e3/config.xml b/conf/e3/config.xml
index 36b5a692c..b30ad8bfc 100644
--- a/conf/e3/config.xml
+++ b/conf/e3/config.xml
@@ -118,7 +118,7 @@
-
+
diff --git a/res/core/en/strings.xml b/res/core/en/strings.xml
index c58d11918..f91b1d9a7 100644
--- a/res/core/en/strings.xml
+++ b/res/core/en/strings.xml
@@ -1476,7 +1476,7 @@
MAKE
- MAKETEMP
+ MAKETEMP
MOVE
diff --git a/s/cron/previews.sh b/s/cron/previews.sh
index 91f0444fd..fc9f5f70b 100755
--- a/s/cron/previews.sh
+++ b/s/cron/previews.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-s/preview build
+s/preview build master
s/preview version
for game in 2 3 4 ; do
s/preview -g $game run && \
diff --git a/s/preview b/s/preview
index a3935aeb9..c25987ced 100755
--- a/s/preview
+++ b/s/preview
@@ -23,6 +23,7 @@ function build() {
assert_dir $SOURCE
cd $SOURCE
git pull || abort "failed to update source. do you have local changes?"
+[ -z $1 ] || git checkout $1
s/build || abort "build failed."
}
@@ -83,11 +84,11 @@ let turn=$turn+1
}
function send() {
-echo "sending reports to $1"
zip="$turn-$1.zip"
zip -q -u $zip $turn-$1.?r
email=$(grep "faction=$1:" reports.txt | cut -d: -f2 | sed 's/email=//')
-cat /dev/null | mutt -F $ERESSEA/etc/muttrc -s "Testauswertung Spiel $GAME Partei $1" -a $zip -- $email
+echo "sending reports to $1 / $email"
+cat /dev/null | mutt -F $ERESSEA/etc/muttrc -s "Testauswertung Spiel $game Partei $1" -a $zip -- $email
}
game=0
@@ -128,7 +129,8 @@ case "$1" in
version
;;
"build")
- build
+ shift
+ build $*
;;
"setup")
setup
@@ -153,8 +155,8 @@ case "$1" in
sent=1
done
if [ $sent -eq 0 ]; then
- if [ -e $factions ]; then
- for faction in $(cat $factions) ; do
+ if [ -e ../$factions ]; then
+ for faction in $(cat ../$factions) ; do
send $faction
done
fi
diff --git a/src/build.h b/src/build.h
index d908582e5..8be9fc2e8 100644
--- a/src/build.h
+++ b/src/build.h
@@ -1,3 +1,3 @@
#define VERSION_MAJOR 3
-#define VERSION_MINOR 0
-#define VERSION_BUILD 682
+#define VERSION_MINOR 2
+#define VERSION_BUILD 684
diff --git a/src/kernel/order.c b/src/kernel/order.c
index 1c85d3d0c..2c1e7ee89 100644
--- a/src/kernel/order.c
+++ b/src/kernel/order.c
@@ -256,6 +256,11 @@ static order *create_order_i(keyword_t kwd, const char *sptr, int persistent,
order *ord = NULL;
int lindex;
+ if (keyword_disabled(kwd)) {
+ log_error("trying to create an order for disabled keyword %s.", keyword(kwd));
+ return NULL;
+ }
+
/* if this is just nonsense, then we skip it. */
if (lomem) {
switch (kwd) {
diff --git a/src/laws.c b/src/laws.c
index d24ae795a..fe2ec329b 100755
--- a/src/laws.c
+++ b/src/laws.c
@@ -3627,6 +3627,8 @@ void new_units(void)
}
continue;
}
+ init_tokens(makeord);
+ skip_token();
alias = getid();
token = getstrtoken();