Browse Source

fixed conditional movement w.r.t doors

overwrites
sp 11 months ago
parent
commit
83560bfc73
  1. 2
      util/PrismModulesPrinter.cpp

2
util/PrismModulesPrinter.cpp

@ -250,7 +250,7 @@ namespace prism {
if(anyLava) guard += " & !" + a + "IsOnLava";
if(anyGoals) guard += " & !" + a + "IsOnGoal";
guard += " & !" + a + "CannotMove" + direction + "Wall";
if(anyPortableObject()) guard += " & !" + a + "CannotMoveConditionally";
if(anyPortableObject() || !lockedDoors.empty() || !unlockedDoors.empty()) guard += " & !" + a + "CannotMoveConditionally";
guard += " -> ";
return guard;
}

Loading…
Cancel
Save