… | |
… | |
1455 | |
1455 | |
1456 | default: |
1456 | default: |
1457 | LOG (llevError, "cast_spell: Unhandled spell subtype %d\n", spell_ob->subtype); |
1457 | LOG (llevError, "cast_spell: Unhandled spell subtype %d\n", spell_ob->subtype); |
1458 | } |
1458 | } |
1459 | |
1459 | |
1460 | op->play_sound (success ? spell_ob->sound : sound_find ("fumble_spell")); |
1460 | op->play_sound ( |
|
|
1461 | success |
|
|
1462 | ? spell_ob->sound |
|
|
1463 | ? spell_ob->sound |
|
|
1464 | : sound_find ("spell_success") |
|
|
1465 | : sound_find ("fumble_spell") |
|
|
1466 | ); |
1461 | |
1467 | |
1462 | return success; |
1468 | return success; |
1463 | } |
1469 | } |
1464 | |
1470 | |
1465 | /* This is called from time.c/process_object(). That function |
1471 | /* This is called from time.c/process_object(). That function |