summaryrefslogtreecommitdiff
path: root/src/game/g_cmds.c
diff options
context:
space:
mode:
authorPetr Pudlak <petr.mvd@gmail.com>2014-10-12 16:39:46 +0200
committerPetr Pudlak <petr.mvd@gmail.com>2014-10-18 19:59:22 +0200
commit9e9289b46d1efad930f09d691ad62fab7f84e8fe (patch)
treeb5a583ed184b6b3806f4890a9fb8875b5f3bcc66 /src/game/g_cmds.c
parente7cd2f975492875faa2f26b3b13b8015d53a94d4 (diff)
Add support for Weak Sudden Death
After it strikes, it's not possible to build near the Reactor/Overmind and it's not possible to build refineries/creep colonies. This still allows teams to build forward within the BP limit, but not strengthen their main bases any more.
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r--src/game/g_cmds.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c
index fa6b6c9..39a87b9 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -2742,6 +2742,7 @@ void Cmd_Build_f( gentity_t *ent )
case IBE_NOPOWERHERE:
case IBE_BLOCKEDBYENEMY:
case IBE_GTHRBLOCKED:
+ case IBE_WSD_INBASE:
err = MN_NONE;
break;
@@ -2778,6 +2779,10 @@ void Cmd_Build_f( gentity_t *ent )
err = MN_B_LASTSPAWN;
break;
+ case IBE_WSD_REFSCOLS:
+ err = MN_B_WSD_REFSCOLS;
+ break;
+
default:
err = -1; // stop uninitialised warning
break;