summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. 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)
commit198713a2b15ea835de6bc0f889c260c62a376e42 (patch)
tree0e3f8604b8e847f654764b794e1f8642ec6fcf7b /src
parentb69ee811a0f3b49bef2eb26163f34e8430a24580 (diff)
downloadoverworld-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 1dd376a..4320b72 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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();