--- deliantra/server/include/player.h 2007/08/16 06:36:56 1.68 +++ deliantra/server/include/player.h 2007/08/16 11:34:29 1.69 @@ -226,9 +226,9 @@ // a prominent box that signifies some error such as a failed // improvement potion. should not be long. - void errormsg (const char *msg, int color = NDI_RED) + void failmsg (const char *msg, int color = NDI_RED) { - play_sound (sound_find ("errormsg")); + play_sound (sound_find ("generic_failure")); statusmsg (msg, color); } @@ -254,7 +254,7 @@ } inline void -object::errormsg (const char *msg, int color) +object::failmsg (const char *msg, int color) { - if (expect_true (contr)) contr->errormsg (msg, color); + if (expect_true (contr)) contr->failmsg (msg, color); }