From 0294fdb8bc11617f8396070f2b4f6c78ed1ee94d Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Thu, 22 Jun 2023 04:42:55 -0700 Subject: [PATCH] Flipped logic for firstgid checking with multiple tile layers. --- Crawler/Crawler.cpp | 4 ++-- Crawler/Version.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Crawler/Crawler.cpp b/Crawler/Crawler.cpp index 4c36e7c1..2c2248ae 100644 --- a/Crawler/Crawler.cpp +++ b/Crawler/Crawler.cpp @@ -133,7 +133,7 @@ bool Crawler::OnUserCreate(){ ,{MonsterName::SLIME_BLUE,{(rand()%20/2.f-5)*24,(rand()%20/2.f-5)*24}} }})); - LoadLevel(CAMPAIGN_1_1); + LoadLevel(LEVEL1); return true; } @@ -839,7 +839,7 @@ TilesheetData Crawler::GetTileSheet(MapName map,int tileID){ return {*MAP_TILESETS["assets/maps/"+tileData[0].data["source"]],1}; } else { for (int i=1;i