From 70a5b61b620c0ae9f86a8dfd96fd0e177b790dfe Mon Sep 17 00:00:00 2001 From: Daniel Simoes Date: Sun, 16 Jun 2002 19:25:55 +0000 Subject: [PATCH] Commited aasimon's fix for capped rotation ini, and a small tweak for MM --- reaction/game/g_main.c | 5 ++++- reaction/game/g_matchmode.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/reaction/game/g_main.c b/reaction/game/g_main.c index a23b96ef..43e0407e 100644 --- a/reaction/game/g_main.c +++ b/reaction/game/g_main.c @@ -5,6 +5,9 @@ //----------------------------------------------------------------------------- // // $Log$ +// Revision 1.83 2002/06/16 19:25:55 slicer +// Commited aasimon's fix for capped rotation ini, and a small tweak for MM +// // Revision 1.82 2002/06/16 17:38:00 jbravo // Removed the MISSIONPACK ifdefs and missionpack only code. // @@ -2601,7 +2604,7 @@ int RQ3_GetTag ( char *buf, int *cur_pos, char *tag, int len){ // Parser of a block int RQ3_ParseBlock (int tag_type, char *tag, int *cur_pos, char *buf, int len) { int map_number = 0; - char map_to_go[2], word_buff[50], buff_map[50]; + char map_to_go[4], word_buff[50], buff_map[50]; char cvar[40], value[80], model[200], *skin; char map_now[50]; diff --git a/reaction/game/g_matchmode.c b/reaction/game/g_matchmode.c index c2b2b155..738dafcb 100644 --- a/reaction/game/g_matchmode.c +++ b/reaction/game/g_matchmode.c @@ -241,7 +241,7 @@ void MM_TeamName_f (gentity_t *ent) { void checkRefVotes() { gentity_t *ent; - char nr[2]; + char nr[4]; G_Printf("Vote Red: %i Vote Blue %i \n",refVotes[0],refVotes[1]); if(refVotes[0] == refVotes[1]) { ent = g_entities + refVotes[0];