Jump to content
  • Create New...
  • 0

Clicking problem



  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0
			elif Type == player.SLOT_TYPE_UPGRADE_INVENTORY or\
				Type == player.SLOT_TYPE_BOOK_INVENTORY or\
				self.AttachedIconHandle = item.GetIconInstance()
				if not self.AttachedIconHandle:
					self.AttachedIconHandle = 0
				(width, height) = item.GetItemSize()

			elif Type == player.SLOT_TYPE_SKILL:
				skillGrade = player.GetSkillGrade(SlotNumber)
				self.AttachedIconHandle = skill.GetIconInstanceNew(self.AttachedItemIndex, skillGrade)

Problem was in mousemodel.py. 

Just i've had If Type == player.SLOT_TYPE_UPGRADE_INVENTORY I just change to elif and it works ;)




Edited by Datheft15
Link to comment
Share on other sites

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.