Add trainer=1 AutoLab

modernize-cmake-1
Fiftytwo 2018-07-12 20:35:50 +02:00
parent 02eb4623b9
commit 146581e44c
1 changed files with 9 additions and 7 deletions

View File

@ -482,7 +482,8 @@ bool CAutoLabo::CreateInterface(bool bSelect)
oy = 3.0f/480.0f;
sx = 33.0f/640.0f;
sy = 33.0f/480.0f;
if( !m_object->GetTrainer() )
{
pos.x = ox+sx*7.0f;
pos.y = oy+sy*0.5f;
pw->CreateButton(pos, dim, 64+45, EVENT_OBJECT_RiPAW);
@ -490,6 +491,7 @@ bool CAutoLabo::CreateInterface(bool bSelect)
pos.x = ox+sx*8.0f;
pos.y = oy+sy*0.5f;
pw->CreateButton(pos, dim, 64+46, EVENT_OBJECT_RiGUN);
}
pos.x = ox+sx*0.0f;
pos.y = oy+sy*0;