Fixed some non standard c++ operations.

This commit is contained in:
Shai Seger
2017-10-27 00:11:07 +03:00
committed by Yorik van Havre
parent 57f2e68746
commit 6ee622b675
2 changed files with 19 additions and 4 deletions

View File

@@ -32,7 +32,6 @@ cStock::cStock(float px, float py, float pz, float lx, float ly, float lz, float
{
m_x = (int)(lx / res) + 1;
m_y = (int)(ly / res) + 1;
int memsize = m_x * m_y;
m_stock.Init(m_x, m_y);
m_attr.Init(m_x, m_y);
m_plane = pz + lz;