All pastes #1979690 Raw Edit

Untitled

public diff v1 · immutable
#1979690 ·published 2010-11-02 16:45 UTC
rendered paste body
From aa529734e30e3fc9542f95780b0d5346ddd29eaf Mon Sep 17 00:00:00 2001From: Andrei Karas <akaras@inbox.ru>Date: Tue, 2 Nov 2010 18:43:59 +0200Subject: [PATCH] Add missing variable initialisation in Being.--- src/being.cpp |    3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)diff --git a/src/being.cpp b/src/being.cppindex 0492727..585e735 100644--- a/src/being.cpp+++ b/src/being.cpp@@ -97,7 +97,8 @@ Being::Being(int id, Type type, int subtype, Map *map):     mIsGM(false),     mType(type),     mX(0), mY(0),-    mDamageTaken(0)+    mDamageTaken(0),+    mIp(0) {     setMap(map);     setSubtype(subtype);-- 1.7.2.3