Browse Source

fixed conditional movement w.r.t doors

overwrites
sp 10 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(anyLava) guard += " & !" + a + "IsOnLava";
if(anyGoals) guard += " & !" + a + "IsOnGoal"; if(anyGoals) guard += " & !" + a + "IsOnGoal";
guard += " & !" + a + "CannotMove" + direction + "Wall"; guard += " & !" + a + "CannotMove" + direction + "Wall";
if(anyPortableObject()) guard += " & !" + a + "CannotMoveConditionally";
if(anyPortableObject() || !lockedDoors.empty() || !unlockedDoors.empty()) guard += " & !" + a + "CannotMoveConditionally";
guard += " -> "; guard += " -> ";
return guard; return guard;
} }

Loading…
Cancel
Save