returns the index of the first path (from 0) alloced returns -1 if there are no paths
| 351 | // returns the index of the first path (from 0) alloced |
| 352 | // returns -1 if there are no paths |
| 353 | int GetFirstPath() { |
| 354 | int i; |
| 355 | for (i = 0; i < MAX_GAME_PATHS; i++) { |
| 356 | if (GamePaths[i].used) |
| 357 | return i; |
| 358 | } |
| 359 | return -1; |
| 360 | } |
| 361 | |
| 362 | #ifndef NEWEDITOR |
| 363 | #include "editor/d3edit.h" |