Switch to storing unique pointers for the monsters list instead of objects. Added a source monster for frog tongues to remain attached to so they follow the monster that they originated from. Release Build 8734.
This commit is contained in:
@@ -78,8 +78,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},{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))});
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user