Fixed proxyActivate not working, closes #557

master
krzys-h 2015-08-14 12:10:27 +02:00
parent 1d6c3cc748
commit add93cb778
1 changed files with 1 additions and 1 deletions

View File

@ -2410,7 +2410,7 @@ bool CRobotMain::EventFrame(const Event &event)
{
Math::Vector eye = m_engine->GetLookatPt();
float dist = Math::Distance(eye, obj->GetPosition());
if ( dist < obj->GetProxyActivate() )
if ( dist < obj->GetProxyDistance() )
{
obj->SetProxyActivate(false);
CreateShortcuts();