diff options
| author | jacob1 <jfu614@gmail.com> | 2013-02-24 19:12:48 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-02-24 19:12:48 (GMT) |
| commit | 0939494747908bb702f24598e883c3d1f70e3710 (patch) | |
| tree | 3477ed2cb7e995fa3c94880acee49bdd2232eaca /src/simulation/Simulation.cpp | |
| parent | f138e10917b1bcdd7d270997312e8d672c182c3a (diff) | |
| download | powder-0939494747908bb702f24598e883c3d1f70e3710.zip powder-0939494747908bb702f24598e883c3d1f70e3710.tar.gz | |
fix problems found with valgrind with shifting stamps and saving
Diffstat (limited to 'src/simulation/Simulation.cpp')
| -rw-r--r-- | src/simulation/Simulation.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index 2314c5c..f9783c9 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -4839,7 +4839,8 @@ Simulation::Simulation(): lighting_recreate(0), force_stacking_check(0), ISWIRE(0), - VINE_MODE(0) + VINE_MODE(0), + gravWallChanged(false) { int tportal_rx[] = {-1, 0, 1, 1, 1, 0,-1,-1}; int tportal_ry[] = {-1,-1,-1, 0, 1, 1, 1, 0}; @@ -4917,6 +4918,13 @@ Simulation::Simulation(): memcpy(gmenu, golMenuT, sizeof(gol_menu) * golMenuCount); free(golMenuT); + Element_STKM::STKM_init_legs(this, &player, 0); + player.spwn = 1; + player.elem = PT_DUST; + Element_STKM::STKM_init_legs(this, &player2, 0); + player2.spwn = 1; + player2.elem = PT_DUST; + init_can_move(); clear_sim(); |
