From e08512776aa9390ee910316bac05b73487ae9a52 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Fri, 30 Jan 2004 03:27:29 +0000 Subject: * Wall walking models now smoothly move over transitions * Added an option to disable build warnings * Added MN_H_NOTPOWERED --- src/game/g_buildable.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/game/g_buildable.c') diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c index e0b59fa5..a525ae9c 100644 --- a/src/game/g_buildable.c +++ b/src/game/g_buildable.c @@ -1434,7 +1434,7 @@ void HArmoury_Activate( gentity_t *self, gentity_t *other, gentity_t *activator if( self->powered ) G_TriggerMenu( activator->client->ps.clientNum, MN_H_ARMOURY ); else - G_TriggerMenu( activator->client->ps.clientNum, MN_H_NOPOWER ); + G_TriggerMenu( activator->client->ps.clientNum, MN_H_NOTPOWERED ); } } @@ -2507,6 +2507,10 @@ qboolean G_ValidateBuild( gentity_t *ent, buildable_t buildable ) G_TriggerMenu( ent->client->ps.clientNum, MN_A_NOOVMND ); return qfalse; + case IBE_NOCREEP: + G_TriggerMenu( ent->client->ps.clientNum, MN_A_NOCREEP ); + return qfalse; + case IBE_OVERMIND: G_TriggerMenu( ent->client->ps.clientNum, MN_A_OVERMIND ); return qfalse; -- cgit