diff options
author | Petr Pudlak <petr.mvd@gmail.com> | 2014-10-12 16:39:46 +0200 |
---|---|---|
committer | Petr Pudlak <petr.mvd@gmail.com> | 2014-10-18 19:59:22 +0200 |
commit | 9e9289b46d1efad930f09d691ad62fab7f84e8fe (patch) | |
tree | b5a583ed184b6b3806f4890a9fb8875b5f3bcc66 /src/game/g_cmds.c | |
parent | e7cd2f975492875faa2f26b3b13b8015d53a94d4 (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.c | 5 |
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; |