From b44a3edfe9363163ab129594cba51a989c042644 Mon Sep 17 00:00:00 2001 From: Johan Althoff Date: Sun, 18 Nov 2007 22:06:41 +0000 Subject: fixed so it compiles under windows. --- src/game/client/cl_skin.cpp | 2 +- src/game/client/cl_skin.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/client') diff --git a/src/game/client/cl_skin.cpp b/src/game/client/cl_skin.cpp index 292b0a99..fcdd0207 100644 --- a/src/game/client/cl_skin.cpp +++ b/src/game/client/cl_skin.cpp @@ -10,7 +10,7 @@ enum MAX_SKINS=256, }; -static skin skins[MAX_SKINS] = {{-1, -1, {0}, {0}}}; +static skin skins[MAX_SKINS] = {0}; static int num_skins = 0; static void skinscan(const char *name, int is_dir, void *user) diff --git a/src/game/client/cl_skin.h b/src/game/client/cl_skin.h index 0b5875b3..a114789d 100644 --- a/src/game/client/cl_skin.h +++ b/src/game/client/cl_skin.h @@ -6,7 +6,7 @@ typedef struct int org_texture; int color_texture; char name[31]; - const char term[1]; + char term[1]; } skin; vec4 skin_get_color(int v); -- cgit 1.4.1