Skip to content

Commit

Permalink
Remove debug log, reword warning logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Primekick committed Nov 30, 2024
1 parent 3ad40c3 commit a5c3aed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
11 changes: 0 additions & 11 deletions src/game_interpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4564,17 +4564,6 @@ bool Game_Interpreter::CommandManiacRewriteMap(lcf::rpg::EventCommand const& com

bool disable_autotile = com.parameters[8] != 0;

Output::Debug("RewriteMap | Mode: {}, SingleRange: {}, Layer: {}, IdOrArrayStart: {}, LeftEnd: {}, TopValue: {}, Width: {}, Height: {}, Autotile: {}",
mode,
is_replace_range,
is_upper_layer,
tile_index,
x_start,
y_start,
width,
height,
disable_autotile);

Scene_Map* scene = (Scene_Map*)Scene::Find(Scene::Map).get();
if (!scene)
return true;
Expand Down
4 changes: 2 additions & 2 deletions src/tilemap_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ void TilemapLayer::SetMapTileDataAt(int x, int y, int tile_id, bool disable_auto
// TODO: make it work for AB autotiles
if (IsAutotileAB(tile_id)) {
RecreateTileDataAt(x, y, tile_id);
Output::Warning("Maniac Patch: Command RewriteMap is only partially supported.");
Output::Warning("Maniac Patch: Autotiles A and B in RewriteMap are only partially supported.");
} else {
RecalculateAutotile(x, y, tile_id);
}
Expand Down Expand Up @@ -795,7 +795,7 @@ static inline void ApplyCornerFixups(uint8_t& neighbors) {
void TilemapLayer::RecalculateAutotile(int x, int y, int tile_id) {
// TODO: make it work for AB autotiles
if (IsAutotileAB(tile_id)) {
Output::Warning("Maniac Patch: Command RewriteMap is only partially supported.");
Output::Warning("Maniac Patch: Autotiles A and B in RewriteMap are only partially supported.");
return;
}

Expand Down

0 comments on commit a5c3aed

Please sign in to comment.