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; int passent;
gentity_t *unlinkedEntities[MAX_RAIL_HITS]; gentity_t *unlinkedEntities[MAX_RAIL_HITS];
damage = 17 * s_quadFactor; damage = 50 * s_quadFactor;
VectorMA (muzzle, 8192, forward, end); 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 { } else {
// check for "impressive" reward sound // check for "impressive" reward sound
ent->client->accurateCount += hits; 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]++; ent->client->ps.persistant[PERS_IMPRESSIVE_COUNT]++;
// add the sprite over the player's head // 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 ); 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" #define BASETA "missionpack"
#ifndef PRODUCT_VERSION #ifndef PRODUCT_VERSION
#define PRODUCT_VERSION "v0.3c_r438" #define PRODUCT_VERSION "v0.3c_r439"
#endif #endif

View file

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