[Scummvm-git-logs] scummvm master -> da1adf36ced88552faddb6d7035b4c98f59ced69
dreammaster
paulfgilbert at gmail.com
Sun Mar 8 02:31:41 UTC 2020
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:
da1adf36ce ULTIMA8: Fix some holes in the North Road map
Commit: da1adf36ced88552faddb6d7035b4c98f59ced69
https://github.com/scummvm/scummvm/commit/da1adf36ced88552faddb6d7035b4c98f59ced69
Author: Matthew Duggan (mgithub at guarana.org)
Date: 2020-03-07T18:31:38-08:00
Commit Message:
ULTIMA8: Fix some holes in the North Road map
Changed paths:
engines/ultima/ultima8/world/map.cpp
diff --git a/engines/ultima/ultima8/world/map.cpp b/engines/ultima/ultima8/world/map.cpp
index 87adfa6330..b8059d6afe 100644
--- a/engines/ultima/ultima8/world/map.cpp
+++ b/engines/ultima/ultima8/world/map.cpp
@@ -81,12 +81,29 @@ static void shiftCoordsToZ(int32 &x, int32 &y, int32 &z, int32 newz) {
void Map::loadFixed(IDataSource *ds) {
loadFixedFormatObjects(_fixedItems, ds, Item::EXT_FIXED);
-
// U8 hack for missing ground tiles on map 25. See docs/u8bugs.txt
if (GAME_IS_U8 && _mapNum == 25) {
// TODO
}
+ // U8 hack for missing ground tiles on map 3 (north road).
+ if (GAME_IS_U8 && _mapNum == 7) {
+ Item *item = ItemFactory::createItem(301, 1, 0, 0, 0, 0,
+ Item::EXT_FIXED, false);
+ item->setLocation(2815, 25727, 8);
+ _fixedItems.push_back(item);
+
+ item = ItemFactory::createItem(301, 1, 0, 0, 0, 0,
+ Item::EXT_FIXED, false);
+ item->setLocation(9983, 21157, 8);
+ _fixedItems.push_back(item);
+
+ item = ItemFactory::createItem(301, 1, 0, 0, 0, 0,
+ Item::EXT_FIXED, false);
+ item->setLocation(13183, 16511, 8);
+ _fixedItems.push_back(item);
+ }
+
// U8 hack for missing ground/wall tiles on map 62. See docs/u8bugs.txt
if (GAME_IS_U8 && _mapNum == 62) {
Item *item = ItemFactory::createItem(301, 1, 0, 0, 0, 0,
More information about the Scummvm-git-logs
mailing list