mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-19 16:14:44 +00:00
Took out
This commit is contained in:
parent
8a351efc89
commit
61d48961e9
18
Classic/scripts/autoexec/TacoOverrides.cs
Normal file → Executable file
18
Classic/scripts/autoexec/TacoOverrides.cs
Normal file → Executable file
|
|
@ -341,12 +341,12 @@ if (!isActivePackage(TacoOverrides))
|
|||
activatePackage(TacoOverrides);
|
||||
|
||||
//Flag explosion fix
|
||||
function Item::applyImpulse(%this, %position, %impulseVec)
|
||||
{
|
||||
%data = %this.getDatablock();
|
||||
%x = getWord(%impulseVec, 0) / %data.mass;
|
||||
%y = getWord(%impulseVec, 1) / %data.mass;
|
||||
%z = getWord(%impulseVec, 2) / %data.mass;
|
||||
%vel = %x SPC %y SPC %z;
|
||||
%this.setVelocity(vectorAdd(%this.getVelocity(), %vel));
|
||||
}
|
||||
// function Item::applyImpulse(%this, %position, %impulseVec)
|
||||
// {
|
||||
// %data = %this.getDatablock();
|
||||
// %x = getWord(%impulseVec, 0) / %data.mass;
|
||||
// %y = getWord(%impulseVec, 1) / %data.mass;
|
||||
// %z = getWord(%impulseVec, 2) / %data.mass;
|
||||
// %vel = %x SPC %y SPC %z;
|
||||
// %this.setVelocity(vectorAdd(%this.getVelocity(), %vel));
|
||||
// }
|
||||
Loading…
Reference in a new issue