fixed mem leak

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2093 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-05-23 20:39:09 +00:00
parent c288c9829b
commit 97fdd618bc
+1 -1
View File
@@ -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);
}
}