summaryrefslogtreecommitdiff
path: root/src/cgame
diff options
context:
space:
mode:
authorBen Millwood <thebenmachine@gmail.com>2009-10-03 12:53:17 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:18 +0000
commit62f641bdf7426059d665f2c7f6ccc55d43179eb2 (patch)
tree0098ccf3803e5f0f6d2de709a2bce70adb9d337b /src/cgame
parent72556ac402ef88fc116c6174602d8db45e5ae588 (diff)
Zone BP updates, and a minor bug fix
* Add g_humanRepeaterAllowOverlap defaulting to 1 * Add a build error message when building a repeater would cause a power zone to overlap * Lower DC range from 10,000 -> 1,000 * Repeaters will suicide if they are *inside* of another power zone * Unpowered buildables no longer take away BP from the main reactor zone * Repeaters will only power the BP that can be built from them * Repeaters can now be moved * Don't set s.misc anymore since BP is calculated server-side * Fix G_IsDCCBuilt( ) so that it can return true even if a DC is built farther than DC_RANGE units from position 0, 0, 0
Diffstat (limited to 'src/cgame')
-rw-r--r--src/cgame/cg_servercmds.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cgame/cg_servercmds.c b/src/cgame/cg_servercmds.c
index 2d9b7038..7fa21530 100644
--- a/src/cgame/cg_servercmds.c
+++ b/src/cgame/cg_servercmds.c
@@ -686,6 +686,12 @@ void CG_Menu( int menu, int arg )
type = DT_BUILD;
break;
+ case MN_H_RPWCAUSEOVRL:
+ longMsg = "This repeater would cause a power zone to overlap.";
+ shortMsg = "This repeater would cause a power zone to overlap";
+ type = DT_BUILD;
+ break;
+
case MN_H_NOSLOTS:
longMsg = "You have no room to carry this. Please sell any conflicting "
"upgrades before purchasing this item.";