signs.c 354 B

123456789101112131415161718
  1. class Land_Bilboard_Base: House
  2. {
  3. void Land_Bilboard_Base()
  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. }
  18. }