D3ltaQ's picture
Upload 2197 files
24b81cb verified
raw
history blame contribute delete
354 Bytes
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
}
}