Jump to content
  • 0

How to remove 's from dropped item name?


ReFresh

Question

  • Premium

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

1 answer to this question

Recommended Posts

  • 0
  • 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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Activity

    1. 7

      Metin2 2003 Beta Client!!!!!

    2. 32

      Boss Effect Over Head

    3. 0

      Open Source API for Metin2 Server Management - Early Development

    4. 0

      Official Item Combination [18.4]

    5. 2

      Proper SIGNAL management for Windows

    6. 2

      Proper SIGNAL management for Windows

    7. 4

      syserr erorr ( not working OK button on client )

    8. 2

      Proper SIGNAL management for Windows

  • 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.