Skip to content
1 change: 1 addition & 0 deletions docs/Whats-New.md
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,7 @@ Phobos fixes:
- Fixed a bug that prevented recalculation of stats etc. on discarding self-owned AE (by Starkku)
- Fixed combat light ignoring / behaving differently from vanilla game regarding detail level and framerate checks (by Starkku)
- Fixed a bug causing transfering AttachEffects (e.g on `DeploysInto`/`UndeploysInto`) not to immediately recalculate stats or tint (by Starkku)
- Fixed a bug where stationary vehicles would also block movement caused by Locomotor=Jumpjet or external factors (by Noble_Fish)

Fixes / interactions with other extensions:
<!-- - Allowed `AuxBuilding` and Ares' `SW.Aux/NegBuildings` to count building upgrades (by Ollerus) -->
Expand Down
8 changes: 6 additions & 2 deletions src/Ext/Techno/Body.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "Body.h"
#include "Body.h"

#include <JumpjetLocomotionClass.h>

Expand Down Expand Up @@ -750,9 +750,13 @@ bool TechnoExt::IsHealthInThreshold(TechnoClass* pObject, double min, double max

bool TechnoExt::CannotMove(UnitClass* pThis)
{
if (pThis->LocomotorSource)
return false;

const auto pType = pThis->Type;

if (pType->Speed == 0)
if (pType->Speed == 0
&& !(pType->Locomotor == LocomotionClass::CLSIDs::Jumpjet && !pType->Teleporter))
return true;

const auto movementRestrictedTo = pType->MovementRestrictedTo;
Expand Down
Loading