4 {
5 #ifndef SERVER
6 if (
g_Game.GetBillboardHandler())
7 {
8 string texture =
g_Game.GetBillboardHandler().GetTextureByType(
GetType());
9 if (texture)
10 {
11 int index = GetHiddenSelectionIndex("advert");
12 if (index != -1)
13 SetObjectTexture(index, texture);
14 }
15 }
16 #endif
17 }
eBleedingSourceType GetType()