From 181181a8651f9b018d0df4e46d6a131b6fc9530c Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 23 Jul 2013 12:31:44 +0200 Subject: [PATCH] - removed player_t destructor call in CopyPlayer. --- src/p_saveg.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/p_saveg.cpp b/src/p_saveg.cpp index d33f21f6f..bf0da0cbe 100644 --- a/src/p_saveg.cpp +++ b/src/p_saveg.cpp @@ -267,7 +267,6 @@ static void CopyPlayer (player_t *dst, player_t *src, const char *name) bool usedown = dst->usedown; - dst->~player_t(); // ensure that the userinfo in dst does not contain anything before copying everything over. *dst = *src; // To avoid memory leaks at this point the userinfo in src must be empty which is taken care of by the TransferFrom call above. dst->cheats |= chasecam;