diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-21 04:01:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-21 04:02:07 +0300 |
commit | dd3ac96d868e5a3e7c230832b25aacd24e03719e (patch) | |
tree | 395ddce26bd249a943c7158188fe52c48809e6a5 /src/resources/beinginfo.cpp | |
parent | 8fdaa55cfc951459b0ee079839cdf40e88baa2af (diff) | |
download | manaverse-dd3ac96d868e5a3e7c230832b25aacd24e03719e.tar.gz manaverse-dd3ac96d868e5a3e7c230832b25aacd24e03719e.tar.bz2 manaverse-dd3ac96d868e5a3e7c230832b25aacd24e03719e.tar.xz manaverse-dd3ac96d868e5a3e7c230832b25aacd24e03719e.zip |
Fix possible crash. Move unsafe initialisations from static members.
Diffstat (limited to 'src/resources/beinginfo.cpp')
-rw-r--r-- | src/resources/beinginfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(): |