1
0

Fixed test asserts

This commit is contained in:
Tycho
2014-03-10 13:12:43 -07:00
parent bb28f0d1e3
commit e9e2852ce1
4 changed files with 37 additions and 37 deletions

View File

@@ -192,7 +192,9 @@ void cCraftingGrid::Dump(void)
{
for (int y = 0; y < m_Height; y++) for (int x = 0; x < m_Width; x++)
{
#ifdef _DEBUG
int idx = x + m_Width * y;
#endif
LOGD("Slot (%d, %d): Type %d, health %d, count %d",
x, y, m_Items[idx].m_ItemType, m_Items[idx].m_ItemDamage, m_Items[idx].m_ItemCount
);