… | |
… | |
1235 | |
1235 | |
1236 | /* appends the spell *spell to the Socklist we will send the data to. */ |
1236 | /* appends the spell *spell to the Socklist we will send the data to. */ |
1237 | static void |
1237 | static void |
1238 | append_spell (player *pl, packet &sl, object *spell) |
1238 | append_spell (player *pl, packet &sl, object *spell) |
1239 | { |
1239 | { |
1240 | int i, skill = 0; |
1240 | int skill = 0; |
1241 | |
1241 | |
1242 | if (!(spell->name)) |
1242 | if (!(spell->name)) |
1243 | { |
1243 | { |
1244 | LOG (llevError, "item number %d is a spell with no name.\n", spell->count); |
1244 | LOG (llevError, "item number %d is a spell with no name.\n", spell->count); |
1245 | return; |
1245 | return; |