--- deliantra/server/include/map.h 2007/07/26 00:27:08 1.80 +++ deliantra/server/include/map.h 2007/08/01 01:53:13 1.81 @@ -376,5 +376,12 @@ return map->at (x, y); } +inline void +object::play_sound (faceidx sound) const +{ + if (map && sound) + map->play_sound (sound, x, y); +} + #endif