File size: 354 Bytes
24b81cb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
class Land_Bilboard_Base: House
{
void Land_Bilboard_Base()
{
#ifndef SERVER
if (g_Game.GetBillboardHandler())
{
string texture = g_Game.GetBillboardHandler().GetTextureByType(GetType());
if (texture)
{
int index = GetHiddenSelectionIndex("advert");
if (index != -1)
SetObjectTexture(index, texture);
}
}
#endif
}
} |