diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-02 21:19:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-02 21:19:28 +0300 |
commit | a3b2076ba0b398523c3e0428c2400184e83c4f62 (patch) | |
tree | ae13ed62556e9b7343b9330089fa3dad2a8b67d2 /src/graphics.h | |
parent | 6f23241ba9d7d908534dade0e03041486a970ddc (diff) | |
download | mv-a3b2076ba0b398523c3e0428c2400184e83c4f62.tar.gz mv-a3b2076ba0b398523c3e0428c2400184e83c4f62.tar.bz2 mv-a3b2076ba0b398523c3e0428c2400184e83c4f62.tar.xz mv-a3b2076ba0b398523c3e0428c2400184e83c4f62.zip |
Last fixes after Coverity checks.
Diffstat (limited to 'src/graphics.h')
-rw-r--r-- | src/graphics.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/graphics.h b/src/graphics.h index b9d4cc53b..12a6c3a77 100644 --- a/src/graphics.h +++ b/src/graphics.h @@ -61,7 +61,10 @@ class ImageRect final { public: ImageRect() - { } + { + for (int f = 0; f < 9; f ++) + grid[f] = nullptr; + } A_DELETE_COPY(ImageRect) |