Jump to content

How to remove 's from dropped item name?

Recommended Posts

  • Gold

Hey guys,

can someone tell me how to remove 's from dropped item on the ground?


Btw. Userinterface\PythonTextTail.cpp
void CPythonTextTail::SetItemTextTailOwner(DWORD dwVID, const char * c_szName)

static const string & strOwnership = ApplicationStringTable_GetString(IDS_POSSESSIVE_MORPHENE) == "" ? "'s" : ApplicationStringTable_GetString(IDS_POSSESSIVE_MORPHENE);


Thanks for answers!



I'll be always helpful! 👊 

Link to comment
Share on other sites

  • Premium



Expression 1 =  ApplicationStringTable_GetString(IDS_POSSESSIVE_MORPHENE) == ""

Expression 2 = "'s"

Expression 3 = ApplicationStringTable_GetString(IDS_POSSESSIVE_MORPHENE)


So you can just leave it with ApplicationStringTable_GetString(IDS_POSSESSIVE_MORPHENE):

static const string & strOwnership = ApplicationStringTable_GetString(IDS_POSSESSIVE_MORPHENE);


  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

  • Create New...

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.