From 07675230038a24dd251581591379c8fe5cc7bfd1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Apr 2016 20:11:07 +0300 Subject: Add memory count functions into MapLayer and SpecailLayer. Also change all memory count functions into const methods. --- src/resources/map/walklayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/map/walklayer.cpp') diff --git a/src/resources/map/walklayer.cpp b/src/resources/map/walklayer.cpp index 9f93f94dd..7bc505f18 100644 --- a/src/resources/map/walklayer.cpp +++ b/src/resources/map/walklayer.cpp @@ -43,7 +43,7 @@ int WalkLayer::getDataAt(const int x, const int y) const return mTiles[x + y * mWidth]; } -int WalkLayer::calcMemoryLocal() +int WalkLayer::calcMemoryLocal() const { return Resource::calcMemoryLocal() + sizeof(WalkLayer) + -- cgit v1.2.3-70-g09d2