mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2024-11-24 04:41:23 +00:00
Little code update
— Changed cg_gravity to 1400 (for realistic car movement) — Expanded checkpoint limit from 40 to 100
This commit is contained in:
parent
9aad2a0098
commit
e7e0acdae4
4 changed files with 6 additions and 6 deletions
|
@ -27,13 +27,13 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
void CG_DrawCheckpointLinks(void)
|
||||
{
|
||||
int i, j;
|
||||
centity_t *cents[40];
|
||||
centity_t *cents[100];
|
||||
qboolean checkpointFound;
|
||||
int numCheckpoints = 0;
|
||||
vec3_t handle;
|
||||
|
||||
// FIXME: max of 40 checkpoints
|
||||
for (i = 0; i < 40; i++)
|
||||
// Checkpoint limit
|
||||
for (i = 0; i < 100; i++)
|
||||
{
|
||||
checkpointFound = qfalse;
|
||||
for (j = 0; j < MAX_GENTITIES; j++)
|
||||
|
|
|
@ -1964,7 +1964,7 @@ void Cmd_SaveBPoints_f( gentity_t *other )
|
|||
Com_Printf( "Writing out bezier path information to: '%s'\n", buffer );
|
||||
trap_FS_FOpenFile( buffer, &f, FS_WRITE );
|
||||
|
||||
for (i = 1; i < 40; i++)
|
||||
for (i = 1; i < 100; i++)
|
||||
{
|
||||
ent = NULL;
|
||||
while ((ent = G_Find (ent, FOFS(classname), "rally_checkpoint")) != NULL) {
|
||||
|
|
|
@ -181,7 +181,7 @@ static cvarTable_t gameCvarTable[] = {
|
|||
{ &g_speed, "g_speed", "320", 0, 0, qtrue },
|
||||
// STONELANCE
|
||||
// { &g_gravity, "g_gravity", "800", 0, 0, qtrue },
|
||||
{ &g_gravity, "g_gravity", "1100", 0, 0, qtrue },
|
||||
{ &g_gravity, "g_gravity", "1400", 0, 0, qtrue },
|
||||
// END
|
||||
{ &g_knockback, "g_knockback", "1000", 0, 0, qtrue },
|
||||
{ &g_quadfactor, "g_quadfactor", "3", 0, 0, qtrue },
|
||||
|
|
|
@ -701,7 +701,7 @@ void SP_worldspawn( void ) {
|
|||
|
||||
// STONELANCE
|
||||
// G_SpawnString( "gravity", "800", &s );
|
||||
G_SpawnString( "gravity", "1100", &s );
|
||||
G_SpawnString( "gravity", "1400", &s );
|
||||
// END
|
||||
trap_Cvar_Set( "g_gravity", s );
|
||||
|
||||
|
|
Loading…
Reference in a new issue