… | |
… | |
1446 | move_aura (op); |
1446 | move_aura (op); |
1447 | break; |
1447 | break; |
1448 | } |
1448 | } |
1449 | } |
1449 | } |
1450 | |
1450 | |
1451 | /* this checks to see if something special should happen if |
|
|
1452 | * something runs into the object. |
|
|
1453 | */ |
|
|
1454 | static void |
|
|
1455 | check_spell_effect (object *op) |
|
|
1456 | { |
|
|
1457 | switch (op->subtype) |
|
|
1458 | { |
|
|
1459 | case SP_BOLT: |
|
|
1460 | move_bolt (op); |
|
|
1461 | return; |
|
|
1462 | |
|
|
1463 | case SP_BULLET: |
|
|
1464 | check_bullet (op); |
|
|
1465 | return; |
|
|
1466 | } |
|
|
1467 | } |
|
|
1468 | |
|
|
1469 | /* This is called by move_apply. Basically, if someone |
1451 | /* This is called by move_apply. Basically, if someone |
1470 | * moves onto a spell effect and the walk_on or fly_on flags |
1452 | * moves onto a spell effect and the walk_on or fly_on flags |
1471 | * are set, this is called. This should only be called for |
1453 | * are set, this is called. This should only be called for |
1472 | * objects of the appropriate type. |
1454 | * objects of the appropriate type. |
1473 | */ |
1455 | */ |