Skip to content

Commit

Permalink
Fix signed/unsigned boogaloo
Browse files Browse the repository at this point in the history
  • Loading branch information
Louvenarde committed Aug 28, 2023
1 parent 395e531 commit 65d8a79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Components/Modules/AssetInterfaces/IclipMap_t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ namespace Assets
Game::CollisionPartition* destPartitions = buffer->dest<Game::CollisionPartition>();
buffer->saveArray(asset->partitions, asset->partitionCount);

for (int i = 0; i < asset->partitionCount; ++i)
for (size_t i = 0; i < asset->partitionCount; ++i)
{
Game::CollisionPartition* destPartition = &destPartitions[i];
Game::CollisionPartition* partition = &asset->partitions[i];
Expand Down
2 changes: 1 addition & 1 deletion src/Game/Structs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3220,7 +3220,7 @@ namespace Game
unsigned char* triEdgeIsWalkable;
unsigned int borderCount;
CollisionBorder* borders;
int partitionCount;
unsigned int partitionCount;
CollisionPartition* partitions;
unsigned int aabbTreeCount;
CollisionAabbTree* aabbTrees;
Expand Down

0 comments on commit 65d8a79

Please sign in to comment.