diff options
author | eray orçunus <erayorcunus@gmail.com> | 2019-12-27 01:15:27 +0300 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2019-12-28 23:05:49 +0300 |
commit | bb5e31470da4e74695b18060c7c9947432cc4813 (patch) | |
tree | 3c28ca36adc1e7fcf5e9aefbe76fce6f2bead5ca /src/audio | |
parent | 458ae30b6f4d3beb1cc2db1538b1659578b588bd (diff) |
CPlayerPed & fixes
Diffstat (limited to 'src/audio')
-rw-r--r-- | src/audio/sampman.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/audio/sampman.cpp b/src/audio/sampman.cpp index 9c79e1b1..6edb6028 100644 --- a/src/audio/sampman.cpp +++ b/src/audio/sampman.cpp @@ -352,7 +352,11 @@ _ResolveLink(char const *path, char *out) OutputDebugString(fd.cFileName); strcpy(out, filepath); - + // FIX: Release the objects. Taken from SA. +#ifdef FIX_BUGS + ppf->Release(); + psl->Release(); +#endif return true; } } |