Misc fixes
This commit is contained in:
@@ -52,7 +52,7 @@ namespace Game
|
||||
{
|
||||
VehicleSeatRecord seat = vehicle.GetSeatForPassenger(GetPlayer());
|
||||
Cypher.Assert(seat != null);
|
||||
if (!seat.HasSeatFlag(VehicleSeatFlags.CanAttack))
|
||||
if (!seat.HasFlag(VehicleSeatFlags.CanAttack))
|
||||
{
|
||||
SendAttackStop(enemy);
|
||||
return;
|
||||
|
||||
@@ -157,7 +157,7 @@ namespace Game
|
||||
VehicleSeatRecord seat = vehicle.GetSeatForPassenger(mover);
|
||||
if (seat != null)
|
||||
{
|
||||
if (seat.HasSeatFlag(VehicleSeatFlags.AllowTurning))
|
||||
if (seat.HasFlag(VehicleSeatFlags.AllowTurning))
|
||||
{
|
||||
if (movementInfo.Pos.GetOrientation() != mover.GetOrientation())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user