diff options
author | Andrey Nazarov <skuller@skuller.net> | 2007-11-28 18:17:19 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2007-11-28 18:17:19 +0000 |
commit | e6855601cd8c3565a6b8b5078547cef52bc5d7eb (patch) | |
tree | 850534c30778175f21a3c267813cda2bb3c3dbbc /source/sv_init.c | |
parent | a377c011febdb961837261ec4e5484d94467942c (diff) |
Made PF_Pmove called with NULL sv_client
work as expected by game DLL (this makes bots function again).
Diffstat (limited to 'source/sv_init.c')
-rw-r--r-- | source/sv_init.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/sv_init.c b/source/sv_init.c index 5d9fe4e..b6c1741 100644 --- a/source/sv_init.c +++ b/source/sv_init.c @@ -107,6 +107,17 @@ void SV_SpawnServer( const char *server, const char *spawnpoint ) { } // + // set up default pmove parameters + // + sv.pmp.maxspeed = 300; + sv.pmp.upspeed = 350; + sv.pmp.friction = 6; + sv.pmp.flyfriction = 9; + sv.pmp.waterfriction = 1; + sv.pmp.airaccelerate = sv_airaccelerate->integer ? qtrue : qfalse; + sv.pmp.speedMultiplier = 1; + + // // clear physics interaction links // SV_ClearWorld(); |