Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Net5F/AmalgamEngine
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a0fbf5a38cb2a772a7c1d7d1e598228307eb9125
Choose a base ref
...
head repository: Net5F/AmalgamEngine
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 57d5e0835fcabfd20d792ef8ff83f9dbfddcc3cd
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jul 11, 2023

  1. Fixed GCC template type error.

    Net_ committed Jul 11, 2023
    Copy the full SHA
    57d5e08 View commit details
Showing with 1 addition and 2 deletions.
  1. +1 −2 Source/SharedLib/Simulation/Public/TileMap/TileMapBase.h
3 changes: 1 addition & 2 deletions Source/SharedLib/Simulation/Public/TileMap/TileMapBase.h
Original file line number Diff line number Diff line change
@@ -309,8 +309,7 @@ void TileMapBase::addSnapshotLayersToTile(const TileSnapshot& tileSnapshot,
// into the history, and addWall() adds extra walls.
Tile& tile{tiles[linearizeTileIndex(tileX, tileY)]};
for (Uint8 paletteIndex : tileSnapshot.layers) {
const T::PaletteEntry& paletteEntry{
chunkSnapshot.palette[paletteIndex]};
const auto& paletteEntry{chunkSnapshot.palette[paletteIndex]};

switch (paletteEntry.layerType) {
case TileLayer::Type::Floor: {