Created
July 20, 2016 15:41
-
-
Save jmtd/5be77a456188902d0ded670e5699cc50 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// can we fit in the skill level? (e.g. 'skill3') | |
if ((end - cursor) - maplen >= 6) | |
{ | |
// M_snprintf writes a \0 that we don't need, hence 7 here | |
M_snprintf(cursor, 7, "skill%1d", startskill); | |
cursor += 6; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment