1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Fix freeing of cursors list

It uses only 14 elements, not 100 like MAXIMAGE.
This commit is contained in:
Mathieu Schroeter 2017-02-15 17:34:03 +01:00
parent cc106b4d1c
commit abadbda3d8

View File

@ -51,9 +51,9 @@ CPixmap::CPixmap()
CPixmap::~CPixmap()
{
Sint32 i;
unsigned int i;
for (i = 0; i < MAXIMAGE; i++)
for (i = 0; i < countof (m_lpSDLCursors); i++)
{
if (m_lpSDLCursors[i])
{