diff --git a/source/src/sound.cpp b/source/src/sound.cpp index 258a0fa8..88c7d413 100644 --- a/source/src/sound.cpp +++ b/source/src/sound.cpp @@ -986,7 +986,7 @@ void detachsounds(playerent *owner) { location &l = locations[i]; if(l.p != owner) continue; - l.attachtoworldobj(new vec(l.p->o)); + l.attachtoworldobj(&l.p->o); } }