--- deliantra/server/socket/sounds.C 2007/08/01 01:53:13 1.23 +++ deliantra/server/socket/sounds.C 2007/09/07 17:39:17 1.24 @@ -56,10 +56,10 @@ if (i != ht.end ()) return i->second; - //TODO: really fall back to face name? - char face[128]; - snprintf (face, 128, "sound/%s", str); - return face_find (face); + if (strncmp (str, "sound/", sizeof ("sound/") - 1)) + str = format ("sound/%s", str); + + return face_find (str); } void