railgun bug should be fixed now

This commit is contained in:
q3rally 2021-09-21 17:03:15 +00:00
parent 8990eed8c1
commit 865ce7e554
3 changed files with 32 additions and 32 deletions

View file

@ -610,7 +610,7 @@ void weapon_railgun_fire (gentity_t *ent) {
int passent;
gentity_t *unlinkedEntities[MAX_RAIL_HITS];
damage = 17 * s_quadFactor;
damage = 50 * s_quadFactor;
VectorMA (muzzle, 8192, forward, end);
@ -821,9 +821,9 @@ void weapon_telefrag_fire (gentity_t *ent,vec3_t muzzle,vec3_t forward,vec3_t ri
} else {
// check for "impressive" reward sound
ent->client->accurateCount += hits;
if ( ent->client->accurateCount >= 2 )
if ( ent->client->accurateCount >= 4 )
{
ent->client->accurateCount -= 2;
ent->client->accurateCount -= 4;
ent->client->ps.persistant[PERS_IMPRESSIVE_COUNT]++;
// add the sprite over the player's head
ent->client->ps.eFlags &= ~(EF_AWARD_IMPRESSIVE | EF_AWARD_EXCELLENT | EF_AWARD_GAUNTLET | EF_AWARD_ASSIST | EF_AWARD_DEFEND | EF_AWARD_CAP );

View file

@ -67,7 +67,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define BASETA "missionpack"
#ifndef PRODUCT_VERSION
#define PRODUCT_VERSION "v0.3c_r438"
#define PRODUCT_VERSION "v0.3c_r439"
#endif

View file

@ -886,37 +886,37 @@ q3rallycode
engine\cross-make-mingw64.sh
[Open project files]
0=engine\code\qcommon\q_shared.h
1=engine\code\game\bg_misc.c
2=engine\code\game\ai_cmd.c
3=engine\code\game\ai_dmq3.c
4=engine\code\cgame\cg_local.h
5=engine\code\client\cl_console.c
6=engine\code\client\cl_scrn.c
7=engine\code\client\client.h
1=engine\code\game\g_local.h
2=engine\code\game\g_weapon.c
3=engine\code\cgame\cg_playerstate.c
4=engine\code\game\bg_public.h
5=engine\code\game\g_arenas.c
6=engine\code\game\g_cmds.c
7=engine\code\q3_ui\ui_sppostgame.c
[Selected Project Files]
Main=
Selected=engine\code\qcommon\q_shared.h
[engine\code\qcommon\q_shared.h]
TopLine=57
Caret=36,70
[engine\code\game\bg_misc.c]
TopLine=799
Caret=26,815
[engine\code\game\ai_cmd.c]
TopLine=1504
Caret=15,1520
[engine\code\game\ai_dmq3.c]
TopLine=2581
Caret=31,2597
[engine\code\cgame\cg_local.h]
TopLine=732
Caret=1,748
[engine\code\client\cl_console.c]
TopLine=603
Caret=36,623
[engine\code\client\cl_scrn.c]
TopLine=198
Caret=1,216
[engine\code\client\client.h]
TopLine=563
Caret=48,581
[engine\code\game\g_local.h]
TopLine=346
Caret=1,362
[engine\code\game\g_weapon.c]
TopLine=808
Caret=35,826
[engine\code\cgame\cg_playerstate.c]
TopLine=355
Caret=1,371
[engine\code\game\bg_public.h]
TopLine=335
Caret=1,351
[engine\code\game\g_arenas.c]
TopLine=98
Caret=1,114
[engine\code\game\g_cmds.c]
TopLine=358
Caret=1,370
[engine\code\q3_ui\ui_sppostgame.c]
TopLine=73
Caret=28,92