]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
use 85% jumpheight for dance
authorRudolf Polzer <divverent@xonotic.org>
Sun, 14 Aug 2011 15:20:28 +0000 (17:20 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Sun, 14 Aug 2011 15:20:28 +0000 (17:20 +0200)
qcsrc/server/bot/bot.qc

index ffa44090aabde06b5e95dae952053eb16e965c43..351625bb555cef6c001bd02508161691158a9051 100644 (file)
@@ -533,7 +533,7 @@ void bot_calculate_stepheightvec(void)
 {
        stepheightvec = autocvar_sv_stepheight * '0 0 1';
        jumpstepheightvec = stepheightvec +
-               ((autocvar_sv_jumpvelocity * autocvar_sv_jumpvelocity) / (2 * autocvar_sv_gravity)) * '0 0 0.75';
+               ((autocvar_sv_jumpvelocity * autocvar_sv_jumpvelocity) / (2 * autocvar_sv_gravity)) * '0 0 0.85';
                // 0.75 factor is for safety to make the jumps easy
 }