mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 17:57:14 +00:00
HDB: Fix teleporter on MAP29 in PPC version.
It was fixed later in the Win version, as it was transferring Guy to a wrong level.
This commit is contained in:
parent
93f05fa32c
commit
e5883e999b
@ -748,6 +748,17 @@ bool Map::load(Common::SeekableReadStream *stream) {
|
||||
case INFO_TELEPORTER18:
|
||||
case INFO_TELEPORTER19:
|
||||
case INFO_TELEPORTER20:
|
||||
|
||||
if (aiInfo[_iconList[i].icon].type == INFO_TELEPORTER8) {
|
||||
if (g_hdb->isPPC() && !scumm_stricmp(g_hdb->currentMapName(), "MAP29.MSM")) {
|
||||
if (_iconList[i].x == 45 && _iconList[i].y == 116) {
|
||||
warning("PATCHED Teleporter8 in MAP29");
|
||||
|
||||
_iconList[i].level = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
g_hdb->_ai->addToTeleportList(
|
||||
aiInfo[_iconList[i].icon].type - INFO_TELEPORTER1,
|
||||
_iconList[i].x,
|
||||
|
Loading…
x
Reference in New Issue
Block a user