triOpenMap -> "OK" or "FAIL: "
| 11 | |
| 12 | /// triOpenMap -> "OK" or "FAIL:<reason>" |
| 13 | GameValue TriOpenMap(const GameState* /*state*/) |
| 14 | { |
| 15 | if (!GWorld) |
| 16 | return GameValue("FAIL:no_world"); |
| 17 | GWorld->CreateMainMap(); |
| 18 | GWorld->ForceMap(true); |
| 19 | LOG_INFO(Core, "[tri] triOpenMap"); |
| 20 | return GameValue("OK"); |
| 21 | } |
| 22 | |
| 23 | /// triShowMap <0|1> -> "OK" or "FAIL:<reason>" |
| 24 | GameValue TriShowMap(const GameState* /*state*/, GameValuePar arg) |
nothing calls this directly
no test coverage detected