upgraded codes and then it can run.

This commit is contained in:
2023-07-28 20:17:46 +08:00
parent df80b1af3b
commit 7967150722
35 changed files with 247 additions and 48 deletions

View File

@@ -22,7 +22,7 @@ namespace hgl
tile_max_count=tile_rows*tile_cols;
tile_count=0;
to_pool.PreMalloc(tile_max_count);
to_pool.PreAlloc(tile_max_count);
{
int col=0,row=0;
TileObject **to=to_pool.GetInactiveData();