diff options
author | P. J. McDermott <pjm@nac.net> | 2013-03-04 20:42:47 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-03-04 20:42:47 (EST) |
commit | 198713a2b15ea835de6bc0f889c260c62a376e42 (patch) | |
tree | 0e3f8604b8e847f654764b794e1f8642ec6fcf7b /src | |
parent | b69ee811a0f3b49bef2eb26163f34e8430a24580 (diff) | |
download | overworld-rpg-198713a2b15ea835de6bc0f889c260c62a376e42.zip overworld-rpg-198713a2b15ea835de6bc0f889c260c62a376e42.tar.gz overworld-rpg-198713a2b15ea835de6bc0f889c260c62a376e42.tar.bz2 |
Add a sprite color to palettes.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -90,8 +90,8 @@ main(void) SDL_Palette *pal_start, *pal_end; pal = malloc(sizeof(*pal)); - pal->colors = calloc(58, sizeof(*pal->colors)); - pal->ncolors = 58; + pal->colors = calloc(59, sizeof(*pal->colors)); + pal->ncolors = 59; i = 0; start = SDL_GetTicks(); |