mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
TraceLine tweaks
This commit is contained in:
parent
8885714465
commit
fc3b165e57
@ -290,7 +290,7 @@ void TraceLine_Post(const float *v1, const float *v2, int fNoMonsters, edict_t *
|
||||
CPlayer *pPlayer = GET_PLAYER_POINTER(e->v.owner);
|
||||
|
||||
for ( int i=0;i<MAX_TRACE;i++){
|
||||
if ( util_strncmp( traceData[i].szName,traceData[i].start ? STRING(e->v.classname)+traceData[i].start : STRING(e->v.classname) ,traceData[i].stop) ){
|
||||
if ( util_strncmp( traceData[i].szTa,traceData[i].start ? STRING(e->v.classname)+traceData[i].start : STRING(e->v.classname) ,traceData[i].stop) ){
|
||||
if ( traceData[i].iAction & ACT_NADE_SHOT ){
|
||||
pPlayer->saveShot(traceData[i].iId);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user