mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Ensure that the disciple can not block the electro factory
Bug discovered here: https://youtu.be/MyWZj20-Iok?t=7m21s
This commit is contained in:
parent
3e45f1cde2
commit
16e1042541
@ -1554,7 +1554,8 @@ void CDecor::AjustObject (Sint32 rank, Sint32 icon, POINT cel, Sint32 * pBits)
|
||||
{
|
||||
if (
|
||||
cel.x > 0 && cel.x % 2 == 0 && cel.y % 2 == 1 &&
|
||||
(m_decor[(cel.x - 2) / 2][cel.y / 2].objectIcon == 100 || // usine ?
|
||||
(m_decor[(cel.x - 2) / 2][cel.y / 2].objectIcon == 17 || // factory
|
||||
m_decor[(cel.x - 2) / 2][cel.y / 2].objectIcon == 100 ||
|
||||
m_decor[(cel.x - 2) / 2][cel.y / 2].objectIcon == 102 ||
|
||||
m_decor[(cel.x - 2) / 2][cel.y / 2].objectIcon == 104 ||
|
||||
m_decor[(cel.x - 2) / 2][cel.y / 2].objectIcon == 115))
|
||||
|
Loading…
x
Reference in New Issue
Block a user