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.70 by root, Wed Dec 31 17:35:38 2008 UTC vs.
Revision 1.71 by root, Wed Dec 31 18:07:41 2008 UTC

142 * It is presumed that the player will be needing to actually 142 * It is presumed that the player will be needing to actually
143 * use the skill, so thus if use of the skill requires a skill 143 * use the skill, so thus if use of the skill requires a skill
144 * tool, this code will equip it. 144 * tool, this code will equip it.
145 */ 145 */
146object * 146object *
147find_skill_by_name (object *who, const shstr &sh) 147find_skill_by_name (object *who, shstr_tmp sh)
148{ 148{
149 object *skill_tool = 0; 149 object *skill_tool = 0;
150 150
151 for (object *tmp = who->inv; tmp; tmp = tmp->below) 151 for (object *tmp = who->inv; tmp; tmp = tmp->below)
152 if (tmp->skill == sh) 152 if (tmp->skill == sh)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines