Jump to content

How to remove 's from dropped item name?


Recommended Posts

  • Active Member

Hey guys,

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

Spoiler

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

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

 

Thanks for answers!

Sincerely,

ReFresh

I'll be always helpful! 👊 

Link to comment
Share on other sites

  • Premium

http://www.cplusplus.com/articles/1AUq5Di1/

 

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

Announcements



  • Similar Content

  • Activity

    1. 3

      Crystal Metinstone

    2. 3

      Feeding game source to LLM

    3. 113

      Ulthar SF V2 (TMP4 Base)

    4. 3

      Feeding game source to LLM

    5. 0

      Target Information System

    6. 3

      Feeding game source to LLM

    7. 2

      anti exp explanation pls

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.