summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
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 ++)
{