Created
July 20, 2016 15:38
-
-
Save jmtd/1b2fcfb729e3b276c27140e3eb4ea365 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? | |
if ((end - cursor + 1) - maplen >= sizeof "skillX " - sizeof "") | |
{ | |
char *p = "skill0 "; | |
while(*p) | |
{ | |
*cursor++ = *p++; | |
} | |
cursor[-2] += startskill; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment