diff options
Diffstat (limited to 'muse2/muse/part.cpp')
-rw-r--r-- | muse2/muse/part.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/muse2/muse/part.cpp b/muse2/muse/part.cpp index 9950c362..d270f6c0 100644 --- a/muse2/muse/part.cpp +++ b/muse2/muse/part.cpp @@ -742,13 +742,14 @@ Part::~Part() { if (_prevClone!=this || _nextClone!=this) { - printf("THIS MIGHT BE A HINT FOR BUGS: Part isn't unchained in ~Part()! i'll do that now. this is\n" + if (MusEGlobal::debugMsg) { + printf("THIS MIGHT BE A HINT FOR BUGS: Part isn't unchained in ~Part()! i'll do that now. this is\n" "not an actual bug, actually that manual unchain should be unneccessary if this was coded\n" "properly. but as it wasn't, and the unchain was always done manually, this might be an\n" "indicator that it have been forgotten. either your computer will explode in 3..2..1..now,\n" "or you can ignore this message.\n" "\n"); - + } unchainClone(this); } |