BerntA / MasterSwordClassic

Master Sword: Continued (Classic)

Home Page:https://www.msremake.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'inhand' getprop returns wrong value

greatguys1 opened this issue · comments

It should return 1 while an item is in the players hands, but currently, it will return 1 if it has ever been held or is in a pack.

what source file is this located? what line?

scriptcmds.cpp
ln 651:
else if (Prop == "inhand") fSuccess = (pItem->m_Location == ITEMPOS_HANDS) ? true : false;