Prevent STKM floating in gases
This commit is contained in:
parent
31ce22f122
commit
31a61d0888
@ -157,7 +157,7 @@ void 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 (ptypes[t].properties&TYPE_LIQUID)
|
if (ptypes[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