summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMittendrein Markus <maxmitti@gmx.net>2016-03-03 22:50:33 +0100
committerMittendrein Markus <maxmitti@gmx.net>2016-03-03 22:50:33 +0100
commitb18adf79549c1a3fb17820b6da8936f79fcb07fb (patch)
tree220071c9862a92722ebf346173b96d5b1a73365a
parent31cce55adfab8b8f26e811b81c4b3024022116aa (diff)
downloadtempelschubsen-b18adf79549c1a3fb17820b6da8936f79fcb07fb.tar.gz
tempelschubsen-b18adf79549c1a3fb17820b6da8936f79fcb07fb.zip
Turn spawning clonks toward the center of the map
-rw-r--r--TemplePushing.c4s/Script.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/TemplePushing.c4s/Script.c b/TemplePushing.c4s/Script.c
index 7ef5474..54e1ec3 100644
--- a/TemplePushing.c4s/Script.c
+++ b/TemplePushing.c4s/Script.c
@@ -587,6 +587,7 @@ func LaunchClonk(int player, object clonk, bool relaunch)
}
clonk->SetPosition(bestPosition[0], bestPosition[1]);
+ clonk->SetDir(bestPosition[0] < LandscapeWidth()/2);
// Still in countdown?
if (!LobbyActive() && !gameStarted)