summaryrefslogtreecommitdiff
path: root/src/simulation/elements/STKM.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-05-12 12:21:04 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-05-12 12:21:04 (GMT)
commit16d3895e9c054e908ca8b230719f4294e824a4a2 (patch)
tree8246b0ebc3b94ed05427b8ffa5ea1e1764c7a37a /src/simulation/elements/STKM.cpp
parent1c993435efc7fe6702d21c892e1d4dd8347d2e7f (diff)
downloadpowder-16d3895e9c054e908ca8b230719f4294e824a4a2.zip
powder-16d3895e9c054e908ca8b230719f4294e824a4a2.tar.gz
Redo Wall IDs
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 e554892..772a3e5 100644
--- a/src/simulation/elements/STKM.cpp
+++ b/src/simulation/elements/STKM.cpp
@@ -304,7 +304,7 @@ int Element_STKM::run_stickman(playerst* playerp, UPDATE_FUNC_ARGS) {
{
int np = -1;
if (playerp->elem == SPC_AIR)
- sim->create_parts(rx + 3*((((int)playerp->pcomm)&0x02) == 0x02) - 3*((((int)playerp->pcomm)&0x01) == 0x01), ry, 4, 4, SPC_AIR, 0);
+ sim->CreateParts(rx + 3*((((int)playerp->pcomm)&0x02) == 0x02) - 3*((((int)playerp->pcomm)&0x01) == 0x01), ry, 4, 4, SPC_AIR, 0);
else if (playerp->elem==PT_LIGH && playerp->frames<30)//limit lightning creation rate
np = -1;
else