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

Comparing deliantra/server/server/apply.C (file contents):
Revision 1.193 by root, Thu Apr 30 02:19:13 2009 UTC vs.
Revision 1.194 by root, Tue May 5 04:51:56 2009 UTC

2314 * 2314 *
2315 * who - the player 2315 * who - the player
2316 * op - the item we want to light 2316 * op - the item we want to light
2317 * lighter - the lighter or 0 if a lighter has yet to be found 2317 * lighter - the lighter or 0 if a lighter has yet to be found
2318 */ 2318 */
2319object * 2319static object *
2320auto_apply_lighter (object *who, object *op, object *lighter) 2320auto_apply_lighter (object *who, object *op, object *lighter)
2321{ 2321{
2322 if (lighter == 0) 2322 if (lighter == 0)
2323 { 2323 {
2324 for (object *tmp = who->inv; tmp; tmp = tmp->below) 2324 for (object *tmp = who->inv; tmp; tmp = tmp->below)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines