ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/player.h
(Generate patch)

Comparing deliantra/server/include/player.h (file contents):
Revision 1.68 by root, Thu Aug 16 06:36:56 2007 UTC vs.
Revision 1.69 by root, Thu Aug 16 11:34:29 2007 UTC

224 send_msg (NDI_REPLY | color, INFO_CHANNEL, msg); 224 send_msg (NDI_REPLY | color, INFO_CHANNEL, msg);
225 } 225 }
226 226
227 // a prominent box that signifies some error such as a failed 227 // a prominent box that signifies some error such as a failed
228 // improvement potion. should not be long. 228 // improvement potion. should not be long.
229 void errormsg (const char *msg, int color = NDI_RED) 229 void failmsg (const char *msg, int color = NDI_RED)
230 { 230 {
231 play_sound (sound_find ("errormsg")); 231 play_sound (sound_find ("generic_failure"));
232 statusmsg (msg, color); 232 statusmsg (msg, color);
233 } 233 }
234 234
235 ~player (); 235 ~player ();
236 236
252{ 252{
253 if (expect_true (contr)) contr->statusmsg (msg, color); 253 if (expect_true (contr)) contr->statusmsg (msg, color);
254} 254}
255 255
256inline void 256inline void
257object::errormsg (const char *msg, int color) 257object::failmsg (const char *msg, int color)
258{ 258{
259 if (expect_true (contr)) contr->errormsg (msg, color); 259 if (expect_true (contr)) contr->failmsg (msg, color);
260} 260}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines