--- grab_plus.sma 2007/11/24 02:27:46 31 +++ grab_plus.sma 2008/02/18 12:47:15 39 @@ -1,5 +1,5 @@ /* -Grab+ v1.2.3 +Grab+ v1.2.4 Copyright (C) 2007 Ian (Juan) Cammarata This program is free software: you can redistribute it and/or modify @@ -102,6 +102,9 @@ Change Log: Key (+ added | - removed | c changed | f fixed) +v1.2.4 (Feb 18, 2007) +f: Killing player with choke in some mods bugged out really bad. + v1.2.3 (Nov 21, 2007) c: A few more small optimizations. f: Bloodstream for choke wasn't aligned with player. @@ -134,7 +137,7 @@ #include #include -new const VERSION[ ] = "1.2.3" +new const VERSION[ ] = "1.2.4b1" new const TRKCVAR[ ] = "grab_plus_version" #define ADMIN ADMIN_LEVEL_A @@ -546,10 +549,11 @@ message_end( ) new health = pev( target, pev_health ) - dmg - set_pev( target, pev_health, float( health ) ) if( health < 1 ) dllfunc( DLLFunc_ClientKill, target ) - - emit_sound( target, CHAN_BODY, "player/PL_PAIN2.WAV", VOL_NORM, ATTN_NORM, 0, PITCH_NORM ) + else { + set_pev( target, pev_health, float( health ) ) + emit_sound( target, CHAN_BODY, "player/PL_PAIN2.WAV", VOL_NORM, ATTN_NORM, 0, PITCH_NORM ) + } client_data[id][FLAGS] ^= CDF_NO_CHOKE set_task( get_pcvar_float( p_choke_time ), "clear_no_choke", TSK_CHKE + id )