Browse Source

the agent cannot turn in lava

pull/16/head
sp 9 months ago
parent
commit
4b8444f6aa
  1. 1
      util/PrismModulesPrinter.cpp

1
util/PrismModulesPrinter.cpp

@ -278,6 +278,7 @@ namespace prism {
agentNameActionMap.at(a).insert({actionId, actionName}); agentNameActionMap.at(a).insert({actionId, actionName});
std::string guard = " " + actionName; std::string guard = " " + actionName;
if(slipperyBehaviour()) guard += " !" + a + "IsOnSlippery & "; if(slipperyBehaviour()) guard += " !" + a + "IsOnSlippery & ";
if(anyLava) guard += " !" + a + "IsOnLava &";
guard += cond + " -> "; guard += cond + " -> ";
return guard; return guard;
} }

Loading…
Cancel
Save