Replaced KP_ALT, SKPV_OR_ALT and UKPV_OR_ALT

svn-id: r41340
This commit is contained in:
Filippos Karapetis 2009-06-07 16:50:34 +00:00
parent 36cdd09223
commit 3b687a7a04
9 changed files with 50 additions and 52 deletions

View file

@ -1672,7 +1672,7 @@ reg_t kAvoidPath(EngineState *s, int funct_nr, int argc, reg_t *argv) {
Common::Point end = Common::Point(argv[2].toSint16(), argv[3].toSint16());
reg_t poly_list = argv[4];
//int poly_list_size = argv[5].toUint16();
int opt = UKPV_OR_ALT(6, 1);
int opt = (argc > 6) ? argv[6].toUint16() : 1;
reg_t output;
PathfindingState *p;