mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Use countof with textures too
This commit is contained in:
parent
abadbda3d8
commit
97850c8def
@ -62,7 +62,7 @@ CPixmap::~CPixmap()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0 ; i < MAXIMAGE ; i++)
|
for (i = 0 ; i < countof (m_lpSDLTexture) ; i++)
|
||||||
{
|
{
|
||||||
if (m_lpSDLTexture[i] != nullptr)
|
if (m_lpSDLTexture[i] != nullptr)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user