Minimap shadowing.

mac-build
sigonasr2 8 months ago
parent a81169cd7f
commit b5d5e547d7
  1. 2
      Adventures in Lestoria/Minimap.cpp
  2. 2
      Adventures in Lestoria/Version.h
  3. BIN
      x64/Release/Adventures in Lestoria.exe

@ -79,7 +79,7 @@ void Minimap::Initialize(){
}
if(tileFound&&!collision){
if(tileCol==BLANK)ERR("WARNING! A tile should not be blank as we should have handled all conditions that would've caused that in a different color! THIS SHOULD NOT BE HAPPENING!")
minimap.Sprite()->SetPixel({x,y},tileCol);
minimap.Sprite()->SetPixel({x,y},{uint8_t(std::min(255.f,tileCol.r*1.5f)),uint8_t(std::min(255.f,tileCol.g*1.5f)),uint8_t(std::min(255.f,tileCol.b*1.5f))});
}else
if(!tileFound){
game->SetPixelMode(Pixel::ALPHA);

@ -39,7 +39,7 @@ All rights reserved.
#define VERSION_MAJOR 1
#define VERSION_MINOR 1
#define VERSION_PATCH 0
#define VERSION_BUILD 8703
#define VERSION_BUILD 8706
#define stringify(a) stringify_(a)
#define stringify_(a) #a

Loading…
Cancel
Save