mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-19 16:14:44 +00:00
Tweak
This commit is contained in:
parent
aec604308f
commit
e2f261f5fc
2
Classic/scripts/LakRabbitGame.cs
Executable file → Normal file
2
Classic/scripts/LakRabbitGame.cs
Executable file → Normal file
|
|
@ -1924,7 +1924,7 @@ function LakRabbitGame::playerTouchFlag(%game, %player, %flag)
|
|||
// borlak -- points for MA flag grabs
|
||||
%mask = $TypeMasks::StaticShapeObjectType | $TypeMasks::InteriorObjectType | $TypeMasks::TerrainObjectType;
|
||||
%rayStart = %player.getWorldBoxCenter();
|
||||
%rayEnd = getWord(%rayStart, 0) SPC getWord(%rayStart, 1) SPC getWord(%rayStart, 2) - 20;
|
||||
%rayEnd = getWord(%rayStart, 0) SPC getWord(%rayStart, 1) SPC getWord(%rayStart, 2) - 15;
|
||||
%ground = ContainerRayCast(%rayStart, %rayEnd, %mask, 0);
|
||||
if(!%ground)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue