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.119 by elmex, Tue Jul 31 09:59:19 2007 UTC vs.
Revision 1.120 by root, Tue Jul 31 17:33:15 2007 UTC

1259 { 1259 {
1260 if (sign->last_eat >= sign->stats.food) 1260 if (sign->last_eat >= sign->stats.food)
1261 { 1261 {
1262 if (!sign->move_on) 1262 if (!sign->move_on)
1263 new_draw_info (NDI_UNIQUE, 0, op, "You cannot read it anymore."); 1263 new_draw_info (NDI_UNIQUE, 0, op, "You cannot read it anymore.");
1264
1264 return; 1265 return;
1265 } 1266 }
1266 1267
1267 if (!QUERY_FLAG (op, FLAG_WIZPASS)) 1268 if (!QUERY_FLAG (op, FLAG_WIZPASS))
1268 sign->last_eat++; 1269 sign->last_eat++;
1280 } 1281 }
1281 1282
1282 if (op->contr) 1283 if (op->contr)
1283 if (client *ns = op->contr->ns) 1284 if (client *ns = op->contr->ns)
1284 { 1285 {
1286 ns->play_sound (sign->sound);
1285 msgType = get_readable_message_type (sign); 1287 msgType = get_readable_message_type (sign);
1286 1288
1287 if (ns->can_msg) 1289 if (ns->can_msg)
1288 ns->send_msg (NDI_NAVY, msgType->msgtype, &sign->msg); 1290 ns->send_msg (NDI_NAVY, msgType->msgtype, &sign->msg);
1289 else 1291 else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines