From b840574351c4234122c9a4ec5380302e5699badb Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 25 Nov 2018 23:40:36 +0100 Subject: [PATCH] racing:: you can no more start moving by pressing GO before the time starts --- racing.cpp | 2 ++ shmup.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/racing.cpp b/racing.cpp index 8a63fed2..c0777967 100644 --- a/racing.cpp +++ b/racing.cpp @@ -32,6 +32,8 @@ map rti_id; string track_code = "OFFICIAL"; +transmatrix straight; + int race_try; void apply_seed() { diff --git a/shmup.cpp b/shmup.cpp index 089e752c..63be6bdf 100644 --- a/shmup.cpp +++ b/shmup.cpp @@ -1580,7 +1580,7 @@ void movePlayer(monster *m, int delta) { if(abs(mdx) > abs(mturn)) mturn = -mdx; mdx = mdy = 0; facemouse = shotkey = dropgreen = false; - if(ticks < racing::race_start_tick) mgo = 0; + if(ticks < racing::race_start_tick || !racing::race_start_tick) mgo = 0; } #endif