diff options
Diffstat (limited to 'geometry/packer.cpp')
-rw-r--r-- | geometry/packer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/geometry/packer.cpp b/geometry/packer.cpp index eddf799128..b11d27237f 100644 --- a/geometry/packer.cpp +++ b/geometry/packer.cpp @@ -84,8 +84,7 @@ namespace m2 m_currentHandle = 0; } - handle_t res = m_currentHandle++; - return res; + return m_currentHandle++; } bool Packer::hasRoom(unsigned width, unsigned height) const |