summaryrefslogtreecommitdiff
path: root/source/sv_game.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/sv_game.c')
-rw-r--r--source/sv_game.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/source/sv_game.c b/source/sv_game.c
index 17de8bd..24074f4 100644
--- a/source/sv_game.c
+++ b/source/sv_game.c
@@ -698,12 +698,11 @@ static void PF_PositionedSound( vec3_t origin, edict_t *entity, int channel,
void PF_Pmove( pmove_t *pm ) {
- if( !sv_client ) {
- //Pmove( pm ); // TODO
- return;
+ if( sv_client ) {
+ Pmove( pm, &sv_client->pmp );
+ } else {
+ Pmove( pm, &sv.pmp );
}
-
- Pmove( pm, &sv_client->pmp );
}
static cvar_t *PF_cvar( const char *name, const char *value, int flags ) {