requiring quake2 fields ain't such a good idea (but why are they in q1 progs?

oh well)
This commit is contained in:
Bill Currie 2001-07-18 18:16:11 +00:00
parent 144eba8b3c
commit e5de359877

View file

@ -261,13 +261,13 @@ SV_LoadProgs (void)
sv_fields.noise2 = PR_GetFieldOffset (&sv_pr_state, "noise2");
sv_fields.noise3 = PR_GetFieldOffset (&sv_pr_state, "noise3");
sv_fields.dmg = PR_GetFieldOffset (&sv_pr_state, "dmg");
sv_fields.dmgtime = PR_GetFieldOffset (&sv_pr_state, "dmgtime");
sv_fields.air_finished = PR_GetFieldOffset (&sv_pr_state, "air_finished");
sv_fields.pain_finished = PR_GetFieldOffset (&sv_pr_state, "pain_finished");
sv_fields.radsuit_finished = PR_GetFieldOffset (&sv_pr_state, "radsuit_finished");
sv_fields.speed = PR_GetFieldOffset (&sv_pr_state, "speed");
// Quake 2 fields?
sv_fields.dmgtime = ED_GetFieldIndex (&sv_pr_state, "dmgtime");
sv_fields.air_finished = ED_GetFieldIndex (&sv_pr_state, "air_finished");
sv_fields.pain_finished = ED_GetFieldIndex (&sv_pr_state, "pain_finished");
sv_fields.radsuit_finished = ED_GetFieldIndex (&sv_pr_state, "radsuit_finished");
sv_fields.speed = ED_GetFieldIndex (&sv_pr_state, "speed");
sv_fields.basevelocity = ED_GetFieldIndex (&sv_pr_state, "basevelocity");
sv_fields.drawPercent = ED_GetFieldIndex (&sv_pr_state, "drawPercent");
sv_fields.gravity = ED_GetFieldIndex (&sv_pr_state, "gravity");