summaryrefslogtreecommitdiff
path: root/src/simulation/elements/STKM.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-05-16 21:01:33 (GMT)
committer jacob1 <jfu614@gmail.com>2013-05-16 21:01:33 (GMT)
commit6f8e2c03456552bdd54355606b8b8389f884c06d (patch)
treedc51900a69809f0230239dcee562d2758d6e550f /src/simulation/elements/STKM.cpp
parent751da54183acb5f7dae94e815aec1e0daf7bbd36 (diff)
downloadpowder-6f8e2c03456552bdd54355606b8b8389f884c06d.zip
powder-6f8e2c03456552bdd54355606b8b8389f884c06d.tar.gz
remove unneeded / duplicate constants, fix SPC_AIR/other tools so it won't conflict with lua elements (the 11th one won't work right now)
Diffstat (limited to 'src/simulation/elements/STKM.cpp')
-rw-r--r--src/simulation/elements/STKM.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/elements/STKM.cpp b/src/simulation/elements/STKM.cpp
index 93d5158..7767266 100644
--- a/src/simulation/elements/STKM.cpp
+++ b/src/simulation/elements/STKM.cpp
@@ -90,7 +90,7 @@ int Element_STKM::run_stickman(playerst* playerp, UPDATE_FUNC_ARGS) {
parts[i].temp += 1;
//Death
- if (parts[i].life<1 || (sim->pv[y/CELL][x/CELL]>=4.5f && playerp->elem != SPC_AIR) ) //If his HP is less that 0 or there is very big wind...
+ if (parts[i].life<1 || (sim->pv[y/CELL][x/CELL]>=4.5f && playerp->elem != SPC_AIR) ) //If his HP is less than 0 or there is very big wind...
{
for (r=-2; r<=1; r++)
{