From dd3ac96d868e5a3e7c230832b25aacd24e03719e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 21 Jul 2011 04:01:46 +0300 Subject: Fix possible crash. Move unsafe initialisations from static members. --- src/resources/beinginfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/beinginfo.cpp') diff --git a/src/resources/beinginfo.cpp b/src/resources/beinginfo.cpp index d6865449e..6b4f57d81 100644 --- a/src/resources/beinginfo.cpp +++ b/src/resources/beinginfo.cpp @@ -29,7 +29,7 @@ #include "debug.h" -BeingInfo *BeingInfo::unknown = new BeingInfo; +BeingInfo *BeingInfo::unknown = 0; Attack *BeingInfo::empty = new Attack(SpriteAction::ATTACK, "", ""); BeingInfo::BeingInfo(): -- cgit v1.2.3-60-g2f50