Merge pull request #401 from diamante0018/addimagetolist

Do not use definitions from mongoose
This commit is contained in:
Dss0
2022-08-01 19:39:00 +02:00
committed by GitHub
3 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,5 @@
#pragma once
#include <mongoose.h>
namespace Components
{

View File

@ -232,7 +232,7 @@ namespace Components
{
auto* imageList = static_cast<Game::ImageList*>(data);
assert(imageList->count < ARRAY_SIZE(imageList->image));
assert(imageList->count < ARRAYSIZE(imageList->image));
if (header.image->texture.basemap)
{