1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2025-01-01 08:37:42 +00:00

Challenge original graphics fix (#83)

This commit is contained in:
dawnDus 2022-03-11 17:11:25 -05:00
parent f50760d9c6
commit 2415d74a46
No known key found for this signature in database
GPG key ID: 972AABDE81848F21

View file

@ -1726,6 +1726,12 @@ impl EngineConstants {
mod_path.push_str("ogph/");
self.base_paths.insert(0, mod_path);
}
// Nicalis left a landmine of a file in the original graphics for the nemesis challenge
// It has 17 colors defined for a 4-bit color depth bitmap
if self.is_cs_plus && !self.is_switch {
self.base_paths.retain(|path| !path.contains("ogph/"));
}
}
}