ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/loader.C
(Generate patch)

Comparing deliantra/server/common/loader.C (file contents):
Revision 1.93 by root, Tue Jul 31 17:33:14 2007 UTC vs.
Revision 1.94 by root, Tue Jul 31 20:03:33 2007 UTC

640 break; 640 break;
641 641
642 case KW_sound: 642 case KW_sound:
643 sound = sound_find (f.get_str ()); 643 sound = sound_find (f.get_str ());
644 if (!sound) 644 if (!sound)
645 sound = face_find (f.get_str ());//TODO: really fall back to face name? 645 {
646 //TODO: really fall back to face name?
647 char face[128];
648 snprintf (face, 128, "sound/%s", f.get_str ());
649 sound = face_find (face);
650 }
646 break; 651 break;
647 652
648 case KW_x: f.get (x); break; 653 case KW_x: f.get (x); break;
649 case KW_y: f.get (y); break; 654 case KW_y: f.get (y); break;
650 655

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines