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

Comparing deliantra/server/server/skill_util.C (file contents):
Revision 1.87 by root, Sun Apr 4 04:10:47 2010 UTC vs.
Revision 1.88 by root, Mon Apr 5 02:05:32 2010 UTC

866 * through that code if skill is set to change to the skill. 866 * through that code if skill is set to change to the skill.
867 */ 867 */
868 if (player *pl = op->contr) 868 if (player *pl = op->contr)
869 { 869 {
870 if (skill) 870 if (skill)
871 op->change_skill (skill); 871 {
872 if (!op->apply (skill))
873 return 0;
874 }
872 else 875 else
873 { 876 {
874 if (!pl->combat_ob) 877 if (!pl->combat_ob)
875 { 878 {
876 if (QUERY_FLAG (op, FLAG_READY_WEAPON)) 879 if (QUERY_FLAG (op, FLAG_READY_WEAPON))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines