Fix kart headlight in network
This commit is contained in:
parent
ba681a7cf8
commit
82a396ed56
@ -2724,7 +2724,8 @@ void Kart::updateFlying()
|
|||||||
*/
|
*/
|
||||||
void Kart::loadData(RaceManager::KartType type, bool is_animated_model)
|
void Kart::loadData(RaceManager::KartType type, bool is_animated_model)
|
||||||
{
|
{
|
||||||
bool always_animated = (type == RaceManager::KT_PLAYER && race_manager->getNumPlayers() == 1);
|
bool always_animated = (type == RaceManager::KT_PLAYER &&
|
||||||
|
race_manager->getNumLocalPlayers() == 1);
|
||||||
m_node = m_kart_model->attachModel(is_animated_model, always_animated);
|
m_node = m_kart_model->attachModel(is_animated_model, always_animated);
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
Loading…
Reference in New Issue
Block a user