summaryrefslogtreecommitdiff
path: root/src/game/g_active.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2001-06-16 19:19:42 +0000
committerTim Angus <tim@ngus.net>2001-06-16 19:19:42 +0000
commitba6e8c35bf5ffcdca53eb2345319c402ba50a86d (patch)
tree6bf0d270bfa93980cc6bc8a36373848dc1789a74 /src/game/g_active.c
parent96c0b0481787295d3cce286429b97d1432b5ee95 (diff)
Restructured dynamic menu handling
Diffstat (limited to 'src/game/g_active.c')
-rw-r--r--src/game/g_active.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c
index 18da18d7..e0a3654a 100644
--- a/src/game/g_active.c
+++ b/src/game/g_active.c
@@ -752,7 +752,7 @@ void ClientThink_real( gentity_t *ent ) {
client->ps.gravity = g_gravity.value;
// set speed
- client->ps.speed = g_speed.value * client->classSpeed;
+ client->ps.speed = g_speed.value * BG_FindSpeedForClass( client->ps.stats[ STAT_PCLASS ] );
//TA: slow player if standing in creep
for ( i = 1, creepNode = g_entities + i; i < level.num_entities; i++, creepNode++ )