… | |
… | |
409 | |
409 | |
410 | static void |
410 | static void |
411 | set_move (MoveType &mt, const char *str) |
411 | set_move (MoveType &mt, const char *str) |
412 | { |
412 | { |
413 | static const struct flagstr { |
413 | static const struct flagstr { |
414 | char *name; |
414 | const char *name; |
415 | MoveType flags; |
415 | MoveType flags; |
416 | } move_flags[] = { |
416 | } move_flags[] = { |
417 | { "walk" , MOVE_WALK }, |
417 | { "walk" , MOVE_WALK }, |
418 | { "flying" , MOVE_FLY_LOW | MOVE_FLY_HIGH }, |
418 | { "flying" , MOVE_FLY_LOW | MOVE_FLY_HIGH }, |
419 | { "fly_low" , MOVE_FLY_LOW }, |
419 | { "fly_low" , MOVE_FLY_LOW }, |