Restrict Sentry touch actions to the back.
This commit is contained in:
parent
2d64db512f
commit
cdf4e40dff
1 changed files with 2 additions and 1 deletions
|
|
@ -2049,7 +2049,8 @@ Class MinigunSentryBase : Actor
|
|||
override void Touch( Actor toucher )
|
||||
{
|
||||
if ( !toucher.player || !bSPECIAL ) return;
|
||||
if ( deathmatch )
|
||||
if ( abs(DeltaAngle(angle,AngleTo(toucher))) < 120 ) return;
|
||||
if ( deathmatch || !master )
|
||||
{
|
||||
if ( master && (toucher != master) && master.CheckLocalView() )
|
||||
Console.Printf(StringTable.Localize("$M_SENTRYHIJACK"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue