diff options
author | M. Kristall <mkpdev@gmail.com> | 2007-07-04 16:32:45 +0000 |
---|---|---|
committer | M. Kristall <mkpdev@gmail.com> | 2007-07-04 16:32:45 +0000 |
commit | 40d0cc3526e984b125ad77aebc428e4667a94e9e (patch) | |
tree | 293c1d2ecf4d7ad770e7a3151ac6a5de31f6231f /src | |
parent | 2ed12926369e6f63f90b9db9ca87ac34ebec3164 (diff) |
* fix denybuild thing correctly...
Diffstat (limited to 'src')
-rw-r--r-- | src/game/g_admin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c index d4325637..8ffa2702 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -2106,7 +2106,7 @@ qboolean G_admin_denybuild( gentity_t *ent, int skiparg ) return qtrue; } vic->client->pers.denyBuild = qtrue; - ent->client->ps.stats[ STAT_BUILDABLE ] = BA_NONE; + vic->client->ps.stats[ STAT_BUILDABLE ] = BA_NONE; CPx( pids[ 0 ], "cp \"^1You've lost your building rights\"" ); AP( va( "print \"^3!denybuild: ^7building rights for ^7%s^7 revoked by ^7%s\n\"", |