ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/spell_util.C
(Generate patch)

Comparing deliantra/server/server/spell_util.C (file contents):
Revision 1.60 by root, Sun Sep 2 05:18:52 2007 UTC vs.
Revision 1.61 by root, Sat Sep 8 07:24:31 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines