Closed kungfooman closed 3 years ago
Pasting code from the marked red rect. Will make version display like this: Apr 0811:28:36
Thanks, can you also add comments where you saw it in the game? Console, 'version' command or whereever
Thanks to @riicchhaarrd for noting the issue in the first place ❣️ 🌈
That's how date and time is displayed when i do -
So instead of va().
I did
credits to php for this method.
Please don't overcomplicate code when you can just do:
__DATE__ " " __TIME__
Could you fix @riicchhaarrd's macro concatenation too?
Oh didn't know i can do it like that. Thanks then. :P . macro concatenation? What's that
The red rect marked in first post is a macro concatenation, you can just add a " "
between __DATE__
and __TIME__
Fixed by #9 (thanks @PrawyCoD1)
Hey @PrawyCoD1
After your PR there is a problem:
The
va()
address will be useless after the next usage, resulting in a string of whatever where merged viava
later (could be memory garbage).You can just copy the code from the marked red rect over it, because that macro is creating a const string
If anyone has the time, please fix it