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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user