mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-03 06:57:31 +02:00
Prevent STKM floating in gases
This commit is contained in:
@@ -157,7 +157,7 @@ void init_can_move()
|
||||
//spark shouldn't move
|
||||
can_move[PT_SPRK][t] = 0;
|
||||
stkm_move = 0;
|
||||
if (ptypes[t].properties&TYPE_LIQUID)
|
||||
if (ptypes[t].properties & (TYPE_LIQUID | TYPE_GAS))
|
||||
stkm_move = 2;
|
||||
if (!t || t==PT_PRTO || t==PT_SPAWN || t==PT_SPAWN2)
|
||||
stkm_move = 2;
|
||||
|
Reference in New Issue
Block a user