When pressing ctrl-F8 in artists debug mode only make player karts
invisible. This allows to take screenshots with AI (and if you don't want AI, just race without AI). git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12588 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -225,8 +225,9 @@ void InputManager::handleStaticAction(int key, int value)
|
||||
const int count = World::getWorld()->getNumKarts();
|
||||
for (int n=0; n<count; n++)
|
||||
{
|
||||
World::getWorld()->getKart(n)->getNode()
|
||||
->setVisible(gui->m_enabled);
|
||||
if(World::getWorld()->getKart(n)->getController()->isPlayerController())
|
||||
World::getWorld()->getKart(n)->getNode()
|
||||
->setVisible(gui->m_enabled);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user