summaryrefslogtreecommitdiff
path: root/src/cgame/cg_servercmds.c
diff options
context:
space:
mode:
authorBen Millwood <thebenmachine@gmail.com>2009-10-03 11:49:31 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:23 +0000
commit25c786294107d95d278936e5b262c09e910359c5 (patch)
tree0f0c289f7ab2652848937a95bdb35245f4d48aa1 /src/cgame/cg_servercmds.c
parent0b913bba474a108931c1308922fa3d3e8f0d75d4 (diff)
* Adjust the error text for no BP based on markdeconstruct
* Re-order some buy messages to be more useful
Diffstat (limited to 'src/cgame/cg_servercmds.c')
-rw-r--r--src/cgame/cg_servercmds.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/cgame/cg_servercmds.c b/src/cgame/cg_servercmds.c
index 43caae33..115c4ccf 100644
--- a/src/cgame/cg_servercmds.c
+++ b/src/cgame/cg_servercmds.c
@@ -639,8 +639,12 @@ void CG_Menu( int menu, int arg )
//===============================
case MN_H_NOBP:
- longMsg = "There is no power remaining. Free up power by deconstructing "
- "existing buildable objects.";
+ if( cgs.markDeconstruct )
+ longMsg = "There is no power remaining. Free up power by marking "
+ "existing buildable objects.";
+ else
+ longMsg = "There is no power remaining. Free up power by deconstructing "
+ "existing buildable objects.";
shortMsg = "There is no power remaining";
type = DT_BUILD;
break;