summaryrefslogtreecommitdiff
path: root/src/simulation/Simulation.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-06-27 16:10:55 (GMT)
committer jacob1 <jfu614@gmail.com>2013-06-27 16:10:55 (GMT)
commitc1320d200735ab3a0e25d169a4bb329de2bb40ba (patch)
tree16c44f1ac29b19ba7e4020b5e8fde413768e71e8 /src/simulation/Simulation.cpp
parent776b2f6607acf43ec64f0479001d049a4cc0d854 (diff)
downloadpowder-c1320d200735ab3a0e25d169a4bb329de2bb40ba.zip
powder-c1320d200735ab3a0e25d169a4bb329de2bb40ba.tar.gz
fix sim.loadStamp return value, remove VINE_MODE
Diffstat (limited to 'src/simulation/Simulation.cpp')
-rw-r--r--src/simulation/Simulation.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp
index a45ef10..e45f5a8 100644
--- a/src/simulation/Simulation.cpp
+++ b/src/simulation/Simulation.cpp
@@ -38,7 +38,7 @@ int Simulation::Load(int fullX, int fullY, GameSave * save)
{
int blockX, blockY, x, y, r;
- if(!save) return 0;
+ if(!save) return 1;
save->Expand();
//Align to blockMap
@@ -4758,7 +4758,6 @@ Simulation::Simulation():
lighting_recreate(0),
force_stacking_check(0),
ISWIRE(0),
- VINE_MODE(0),
gravWallChanged(false),
replaceModeSelected(0),
replaceModeFlags(0)