TPT: Prevent STKM floating in gases 31a61d0888
This commit is contained in:
parent
e36bc8e4ae
commit
7859cc839c
@ -1850,7 +1850,7 @@ void Simulation::init_can_move()
|
|||||||
//spark shouldn't move
|
//spark shouldn't move
|
||||||
can_move[PT_SPRK][t] = 0;
|
can_move[PT_SPRK][t] = 0;
|
||||||
stkm_move = 0;
|
stkm_move = 0;
|
||||||
if (elements[t].Properties&TYPE_LIQUID)
|
if (elements[t].Properties & (TYPE_LIQUID | TYPE_GAS))
|
||||||
stkm_move = 2;
|
stkm_move = 2;
|
||||||
if (!t || t==PT_PRTO || t==PT_SPAWN || t==PT_SPAWN2)
|
if (!t || t==PT_PRTO || t==PT_SPAWN || t==PT_SPAWN2)
|
||||||
stkm_move = 2;
|
stkm_move = 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user