diff options
Diffstat (limited to 'src/oldloader.cpp')
-rw-r--r-- | src/oldloader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/oldloader.cpp b/src/oldloader.cpp index 90ec6ef79..9175ababe 100644 --- a/src/oldloader.cpp +++ b/src/oldloader.cpp @@ -1001,14 +1001,14 @@ static const OldChunks player_chunk[] = { static bool LoadOldPlayer(LoadgameState *ls, int num) { - Player *p = GetPlayer((PlayerID)num); + Player *p = new (num) Player(); _current_player_id = (PlayerID)num; if (!LoadChunk(ls, p, player_chunk)) return false; if (_old_string_id == 0) { - p->is_active = false; + delete p; return true; } |