MegaGlest / megaglest-source

MegaGlest real-time strategy game engine (cross-platform, 3-d)
http://megaglest.org/
348 stars 89 forks source link

display MG version number in "Real Name" field #162

Closed andy5995 closed 7 years ago

andy5995 commented 7 years ago

In my IRC client, I can right click a person's nick, and view a "Real Name" field. An MG user's Real Name field reads "megaglest". This changes it to "MegaGlest v3.13-dev user".

I would like to #include the version info from somewhere else, instead of initializing the variable with a constanst string (L40).

Ideas for doing that gracefully?

Is this PR a desired change? The reason I thought this was a good idea is to reduce all the "What version are you using?" questions in #megaglest-lobby.

andy5995 commented 7 years ago

@titiger is going to make this patch, using a different method. Closing...

andy5995 commented 7 years ago

@titiger patch has been committed: https://github.com/MegaGlest/megaglest-source/commit/2133b8fd07e8fca38fc948613960fb8498d85e1f