From: MirceaKitsune Date: Sun, 18 Mar 2012 18:47:09 +0000 (+0200) Subject: Revert the commit with predator.velocity breakage, since the bug just got fixed in... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5cf58d024eaaaa4e57921397f9a60ec0fc002fbc;p=voretournament%2Fvoretournament.git Revert the commit with predator.velocity breakage, since the bug just got fixed in latest fteqcc and no longer happens. --- diff --git a/data/qcsrc/server/t_items.qc b/data/qcsrc/server/t_items.qc index d936ddb7..128e0113 100644 --- a/data/qcsrc/server/t_items.qc +++ b/data/qcsrc/server/t_items.qc @@ -407,7 +407,7 @@ void Item_DroppedConsumable_Spawn(entity e) item.angles_y = e.predator.angles_y; makevectors(e.predator.v_angle); item.velocity = v_forward * cvar("g_balance_vore_regurgitate_force") * scalediff; - e.predator.velocity = e.predator.velocity + (-v_forward * cvar("g_balance_vore_regurgitate_predatorforce") * scalediff); // don't use += here to avoid a fteqcc bug + e.predator.velocity += -v_forward * cvar("g_balance_vore_regurgitate_predatorforce") * scalediff; item.touch = Item_DroppedConsumable_Touch; item.cnt = time + 1; // 1 second delay SUB_SetFade(item, time + 20, 1); diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index b32c2d6d..fa8f453e 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -411,7 +411,7 @@ void Vore_Regurgitate(entity e) // apply velocities makevectors(e.predator.v_angle); e.velocity = v_forward * cvar("g_balance_vore_regurgitate_force") * scalediff; - e.predator.velocity = e.predator.velocity + (-v_forward * cvar("g_balance_vore_regurgitate_predatorforce") * scalediff); // don't use += here to avoid a fteqcc bug + e.predator.velocity += -v_forward * cvar("g_balance_vore_regurgitate_predatorforce") * scalediff; e.pusher = e.predator; // allows us to frag players by regurgitating them in deadly pits e.pushltime = time + cvar("g_maxpushtime");