mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-15 16:14:35 +00:00
Tweak
This commit is contained in:
parent
aec604308f
commit
e2f261f5fc
1 changed files with 1 additions and 1 deletions
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
|
// borlak -- points for MA flag grabs
|
||||||
%mask = $TypeMasks::StaticShapeObjectType | $TypeMasks::InteriorObjectType | $TypeMasks::TerrainObjectType;
|
%mask = $TypeMasks::StaticShapeObjectType | $TypeMasks::InteriorObjectType | $TypeMasks::TerrainObjectType;
|
||||||
%rayStart = %player.getWorldBoxCenter();
|
%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);
|
%ground = ContainerRayCast(%rayStart, %rayEnd, %mask, 0);
|
||||||
if(!%ground)
|
if(!%ground)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue