summaryrefslogtreecommitdiff
path: root/src/simulation/Simulation.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2012-10-16 01:30:47 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-10-26 14:13:27 (GMT)
commit6d1c7be74068a06ba8a64dbe3d94a8a25fa7b09e (patch)
treebbba7b35ed29785d3cb1c4f91ac4b3cf343d74a7 /src/simulation/Simulation.cpp
parentfd07d35e348e1c904a3da6fd67237fde4e88182d (diff)
downloadpowder-6d1c7be74068a06ba8a64dbe3d94a8a25fa7b09e.zip
powder-6d1c7be74068a06ba8a64dbe3d94a8a25fa7b09e.tar.gz
initialize all stickmen variables, not just legs
Diffstat (limited to 'src/simulation/Simulation.cpp')
-rw-r--r--src/simulation/Simulation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp
index b98b3bd..09b0da9 100644
--- a/src/simulation/Simulation.cpp
+++ b/src/simulation/Simulation.cpp
@@ -103,9 +103,9 @@ int Simulation::Load(int fullX, int fullY, GameSave * save)
fighcount++;
//currentPart.tmp = fcount;
parts[i].tmp = fcount;
+ Element_STKM::STKM_init_legs(this, &(fighters[fcount]), i);
fighters[fcount].spwn = 1;
fighters[fcount].elem = PT_DUST;
- Element_STKM::STKM_init_legs(this, &(fighters[fcount]), i);
break;
}
}