From bfcd2d9d3d6654d73daac7788bf7b5591ad6ba41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net>
Date: Thu, 4 Mar 2021 18:01:12 -0500
Subject: [PATCH] Deal with the mess in PukeWorld

---
 xtrn/lord2/l2lib.js |   2 ++
 xtrn/lord2/map.dat  | Bin 4110909 -> 4110909 bytes
 2 files changed, 2 insertions(+)

diff --git a/xtrn/lord2/l2lib.js b/xtrn/lord2/l2lib.js
index d5e4ecd125..52782589b3 100644
--- a/xtrn/lord2/l2lib.js
+++ b/xtrn/lord2/l2lib.js
@@ -871,6 +871,8 @@ function foreground(col)
 
 function background(col)
 {
+	// PukeWorld uses a background colour of 13...
+	col &= 0x07;
 	if (col > 7 || col < 0) {
 		return;
 	}
diff --git a/xtrn/lord2/map.dat b/xtrn/lord2/map.dat
index 4b0e6cc103c9de3b1c4c40df73ebe7c5430fed0f..a41776260a70d40bdaa4d09441a33515aaef501e 100644
GIT binary patch
delta 183
zcmdn{<rgCeH?%OeFtsqZu(YtYu(hzaaI|o?aJ6u^@U-x@@U`%_2($>c2(<{eh_r~d
zh_#5fNVG_{NVQ0}$h63|$hF9~D6}ZHD77fJsI;iIsI{oKXl&7(e`xYSRnhh>hcw%_
z9MWpva!9*<%ORciEr)d5w;a-I-*QO5eaj((_AQ4D+qWDtYTt6mxP8kZllCo#Oxw2{
mGHc&*$h>{aA&d4chb-H-9I|TPa>%-U%ORWXTMpTFeg^>6*-;q)

delta 198
zcmdn{<rgCeH?%OeFtsqZu(YtYu(hzaaI|o?aJ6u^@U-x@@U`%_2($>c2(<{eh_r~d
zh_#5fNVG_{NVQ0}$h63|$hF9~D6}ZHD77fJsI;iIsI{oKXl&7(e@G}ZCo3~oFC#xU
zRWCP3FTW^VzkTB&&GwClwAwcw(r({)NT+?{A>H<khxFPv9s<c3v~N6Q*uL?QQTxV2
y#_byqnY3>_WZJ&*kXif2L+0%p4_UNtJY?Cv@sL&f#zWTa8xPrR-+0Kj=Q{wNnpOD#

-- 
GitLab