diff --git a/game/bg_public.h b/game/bg_public.h index 0af6627..6b539f3 100644 --- a/game/bg_public.h +++ b/game/bg_public.h @@ -10,7 +10,7 @@ // because games can change separately from the main system version, we need a // second version that must match between game and cgame -#define RPGX_VERSION "2.2 Beta 8.4.7 wc1" +#define RPGX_VERSION "2.2 Beta wc121211a" #define RPGX_COMPILEDATE "20/05/11" #define RPGX_COMPILEDBY "GSIO01" //const char GAME_VERSION[] = strcat("RPG-X v",RPGX_VERSION); diff --git a/game/g_spawn.c b/game/g_spawn.c index 791dfec..74dda3e 100644 --- a/game/g_spawn.c +++ b/game/g_spawn.c @@ -598,10 +598,10 @@ qboolean G_ParseField( const char *key, const char *value, gentity_t *ent ) { break; case F_VECTOR4: i = sscanf (value, "%f %f %f %f", &vec4[0], &vec[1], &vec[2], &vec[3]); - ((float *)(b+f->ofs))[0] = vec[0]; - ((float *)(b+f->ofs))[0] = vec[1]; - ((float *)(b+f->ofs))[0] = vec[2]; - ((float *)(b+f->ofs))[0] = vec[3]; + ((float *)(b+f->ofs))[0] = vec4[0]; + ((float *)(b+f->ofs))[0] = vec4[1]; + ((float *)(b+f->ofs))[0] = vec4[2]; + ((float *)(b+f->ofs))[0] = vec4[3]; break; case F_INT: *(int *)(b+f->ofs) = atoi(value); diff --git a/qcommon/stv_version.h b/qcommon/stv_version.h index d2ea2c1..e17525b 100644 --- a/qcommon/stv_version.h +++ b/qcommon/stv_version.h @@ -1,5 +1,5 @@ // Current version of holomatch game -#define Q3_VERSION "RPG-X v2.2 Beta 8.4.7 wc1" +#define Q3_VERSION "RPG-X v2.2 wc121211a" // end