Merge branch 'master' of https://github.com/supertuxkart/stk-code
This commit is contained in:
commit
efe9fa6329
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// SuperTuxKart - a fun racing game with go-kart
|
// SuperTuxKart - A racing game
|
||||||
// Copyright (C) 2004-2015 Steve Baker <sjbaker1@airmail.net>
|
// Copyright (C) 2004-2016 Steve Baker <sjbaker1@airmail.net>
|
||||||
// Copyright (C) 2006-2015 SuperTuxKart-Team, Joerg Henrichs, Steve Baker
|
// Copyright (C) 2006-2016 SuperTuxKart Team, Joerg Henrichs, Steve Baker
|
||||||
//
|
//
|
||||||
// This program is free software; you can redistribute it and/or
|
// This program is free software; you can redistribute it and/or
|
||||||
// modify it under the terms of the GNU General Public License
|
// modify it under the terms of the GNU General Public License
|
||||||
@ -2110,6 +2110,7 @@ void Kart::updatePhysics(float dt)
|
|||||||
{
|
{
|
||||||
m_has_started = true;
|
m_has_started = true;
|
||||||
float f = getStartupBoost();
|
float f = getStartupBoost();
|
||||||
|
if(f >= 0.0f) m_kart_gfx->setCreationRateAbsolute(KartGFX::KGFX_ZIPPER, 100*f);
|
||||||
m_max_speed->instantSpeedIncrease(MaxSpeed::MS_INCREASE_ZIPPER,
|
m_max_speed->instantSpeedIncrease(MaxSpeed::MS_INCREASE_ZIPPER,
|
||||||
0.9f*f, f,
|
0.9f*f, f,
|
||||||
/*engine_force*/200.0f,
|
/*engine_force*/200.0f,
|
||||||
|
Loading…
Reference in New Issue
Block a user