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:
parent
cc106b4d1c
commit
abadbda3d8
@ -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])
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user