Add trainer=1 ResearchCenter
parent
d0e29d4875
commit
02eb4623b9
|
@ -341,7 +341,8 @@ bool CAutoResearch::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*3.0f;
|
||||
pos.y = oy+sy*0.5f;
|
||||
pw->CreateButton(pos, dim, 64+0, EVENT_OBJECT_RTANK);
|
||||
|
@ -377,6 +378,7 @@ bool CAutoResearch::CreateInterface(bool bSelect)
|
|||
pos.x = ox+sx*11.0f;
|
||||
pos.y = oy+sy*0.5f;
|
||||
pw->CreateButton(pos, dim, 192+4, EVENT_OBJECT_RBUILDER);
|
||||
}
|
||||
|
||||
pos.x = ox+sx*14.5f;
|
||||
pos.y = oy+sy*0;
|
||||
|
|
Loading…
Reference in New Issue