summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-02-20 00:25:42 +0200
committerAndrei Karas <akaras@inbox.ru>2011-02-20 00:25:42 +0200
commit3f00faa305201fabcc74e17dc24da4cefa9dbfa5 (patch)
tree460a7a06c97912e5ed9a525f01624748dd7a16a6 /src/being.cpp
parentda9ec0b7b8e061b3d3bf1d145284de9d778456c1 (diff)
downloadplus-3f00faa305201fabcc74e17dc24da4cefa9dbfa5.tar.gz
plus-3f00faa305201fabcc74e17dc24da4cefa9dbfa5.tar.bz2
plus-3f00faa305201fabcc74e17dc24da4cefa9dbfa5.tar.xz
plus-3f00faa305201fabcc74e17dc24da4cefa9dbfa5.zip
Fix some code style and some errors.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 6e487a5b4..7265aa337 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -1888,7 +1888,7 @@ void Being::recalcSpritesOrder()
// logger->log("preparation start");
std::vector<int>::iterator it;
- int *oldHide = new int[20];
+ int oldHide[20];
for (unsigned slot = 0; slot < sz; slot ++)
{