[Scummvm-git-logs] scummvm master -> 24350210c0bda2814be484d1a7bffce1cbbe7960
bluegr
noreply at scummvm.org
Mon Oct 21 15:41:57 UTC 2024
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
24350210c0 DARKSEED: Keep the current palette for rooms without a custom palette
Commit: 24350210c0bda2814be484d1a7bffce1cbbe7960
https://github.com/scummvm/scummvm/commit/24350210c0bda2814be484d1a7bffce1cbbe7960
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2024-10-21T18:41:34+03:00
Commit Message:
DARKSEED: Keep the current palette for rooms without a custom palette
Fixes viewing aisle C in the library, which has no custom palette
Changed paths:
engines/darkseed/pal.cpp
diff --git a/engines/darkseed/pal.cpp b/engines/darkseed/pal.cpp
index eeea797affe..e1fcdb0b124 100644
--- a/engines/darkseed/pal.cpp
+++ b/engines/darkseed/pal.cpp
@@ -39,6 +39,7 @@ void Pal::load(const Pal &pal) {
bool Pal::load(const Common::Path &filename, bool shouldInstallPalette) {
Common::File file;
if (!file.open(filename)) {
+ loadFromScreen();
return false;
}
uint32 bytesRead = file.read(_palData, DARKSEED_PAL_SIZE);
More information about the Scummvm-git-logs
mailing list