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.129 by root, Sat Sep 1 08:03:45 2007 UTC vs.
Revision 1.130 by root, Sun Sep 2 04:57:15 2007 UTC

1311 1311
1312 if (op->contr) 1312 if (op->contr)
1313 if (client *ns = op->contr->ns) 1313 if (client *ns = op->contr->ns)
1314 { 1314 {
1315 ns->play_sound (sign->sound); 1315 ns->play_sound (sign->sound);
1316 msgType = get_readable_message_type (sign);
1317 1316
1318 if (ns->can_msg) 1317 if (ns->can_msg)
1319 ns->send_msg (NDI_NAVY, msgType->msgtype, &sign->msg); 1318 op->contr->infobox (MSG_CHANNEL ("examine"), format ("T<%s>\n\n\n\n%s", &sign->name, &sign->msg));
1320 else 1319 else
1321 { 1320 {
1322 char newbuf[HUGE_BUF]; 1321 msgType = get_readable_message_type (sign);
1323 snprintf (newbuf, sizeof (newbuf), "%u %s", autoapply ? 1 : 0, &sign->msg); 1322 const char *somemsg = format ("%u %s", autoapply ? 1 : 0, &sign->msg);
1324 draw_ext_info (NDI_UNIQUE | NDI_NAVY, 0, op, msgType->message_type, msgType->message_subtype, newbuf, &sign->msg); 1323 draw_ext_info (NDI_UNIQUE | NDI_NAVY, 0, op, msgType->message_type, msgType->message_subtype, somemsg, &sign->msg);
1325 } 1324 }
1326 } 1325 }
1327} 1326}
1328 1327
1329/** 1328/**

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines