All pastes #1812571 Raw Edit

Anonymous

public diff v1 · immutable
#1812571 ·published 2010-02-26 23:02 UTC
rendered paste body
From 3a1edc71e047a9ce7031ee9a58e1603f2f6fd6fe Mon Sep 17 00:00:00 2001From: Andrei Karas <akaras@inbox.ru>Date: Sat, 27 Feb 2010 00:48:39 +0200Subject: [PATCH] Fix calling setMap on deleted viewPort--- src/game.cpp |    2 +- 1 files changed, 1 insertions(+), 1 deletions(-)diff --git a/src/game.cpp b/src/game.cppindex b367064..c474d41 100644--- a/src/game.cpp+++ b/src/game.cpp@@ -275,10 +275,10 @@ Game::~Game()     delete commandHandler;     delete joystick;     delete particleEngine;-    delete viewport;      viewport->setMap(NULL); +    delete viewport;     delete mCurrentMap;     map_path = ""; -- 1.7.0