Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// 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