mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Check for tower rays in all cases
- It fixes the issue #26. It's no longer possible to have rays with an object that is not a tower. You can reenable this bug with --restore-bugs.
This commit is contained in:
parent
fff8fe2915
commit
dc6895ffdc
@ -630,8 +630,10 @@ CDecor::ArrangeObject (Point cel)
|
||||
|
||||
// Arrange les rayons entre les tours.
|
||||
if (
|
||||
m_decor[cel.x / 2][cel.y / 2].objectIcon == 27 || // tour ?
|
||||
m_decor[cel.x / 2][cel.y / 2].objectIcon == -1) // rien ?
|
||||
!g_restoreBugs ||
|
||||
(g_restoreBugs &&
|
||||
(m_decor[cel.x / 2][cel.y / 2].objectIcon == 27 || // tour ?
|
||||
m_decor[cel.x / 2][cel.y / 2].objectIcon == -1)))
|
||||
{
|
||||
for (i = 0; i < 4; i++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user