about summary refs log tree commit diff
path: root/src/game
diff options
context:
space:
mode:
authorJohan Althoff <teetow@gmail.com>2007-11-18 22:06:41 +0000
committerJohan Althoff <teetow@gmail.com>2007-11-18 22:06:41 +0000
commitb44a3edfe9363163ab129594cba51a989c042644 (patch)
treeb7f56f9118ecd37880f5404b51c7dd8df12ed970 /src/game
parent65c7ab0a40497887fe38b5c1c49034ecd2a40c81 (diff)
downloadzcatch-b44a3edfe9363163ab129594cba51a989c042644.tar.gz
zcatch-b44a3edfe9363163ab129594cba51a989c042644.zip
fixed so it compiles under windows.
Diffstat (limited to 'src/game')
-rw-r--r--src/game/client/cl_skin.cpp2
-rw-r--r--src/game/client/cl_skin.h2
2 files changed, 2 insertions, 2 deletions
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);