()
| 1157 | } |
| 1158 | |
| 1159 | private String SV_ReadMapCommand() { |
| 1160 | Com.DPrintf("SV_ReadMapCommand()\n"); |
| 1161 | |
| 1162 | try { |
| 1163 | QuakeFile f = new QuakeFile(FS.getWriteDir() + "/save/current/server_mapcmd.ssv", "r"); |
| 1164 | // read the comment field |
| 1165 | Com.DPrintf("SV_ReadMapCommand: Loading save: " + f.readString() + "\n"); |
| 1166 | |
| 1167 | // read the mapcmd |
| 1168 | return f.readString(); |
| 1169 | } catch (Exception e) { |
| 1170 | throw new RuntimeException(e); |
| 1171 | } |
| 1172 | } |
| 1173 | |
| 1174 | /* |
| 1175 | ================== |
no test coverage detected