Fix replace mode to allow replacing with GOL types
This commit is contained in:
parent
a73d9b09b6
commit
02a3dcbaa2
@ -1771,7 +1771,7 @@ int Simulation::CreatePartFlags(int x, int y, int c, int flags)
|
||||
(photons[y][x] && TYP(photons[y][x]) == replaceModeSelected))
|
||||
{
|
||||
if (c)
|
||||
create_part(photons[y][x] ? ID(photons[y][x]) : ID(pmap[y][x]), x, y, TYP(c));
|
||||
create_part(photons[y][x] ? ID(photons[y][x]) : ID(pmap[y][x]), x, y, TYP(c), ID(c));
|
||||
else
|
||||
delete_part(x, y);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user