summaryrefslogtreecommitdiff
path: root/src/simulation/Snapshot.h
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2012-12-18 21:17:13 (GMT)
committer jacob1 <jfu614@gmail.com>2012-12-18 21:17:13 (GMT)
commitdc0e47ac00459664a33d92a316f4e6a504b85919 (patch)
treedb9936970fa02b55ca711fd5cf0af5f83f976e5c /src/simulation/Snapshot.h
parent9a2df6b8242f27838e91adf1d2253c9090c4b7f5 (diff)
downloadpowder-dc0e47ac00459664a33d92a316f4e6a504b85919.zip
powder-dc0e47ac00459664a33d92a316f4e6a504b85919.tar.gz
fix undo not allowing any more stickmen to be placed, save stickmen in snapshots
Diffstat (limited to 'src/simulation/Snapshot.h')
-rw-r--r--src/simulation/Snapshot.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/simulation/Snapshot.h b/src/simulation/Snapshot.h
index d47f363..983bdf3 100644
--- a/src/simulation/Snapshot.h
+++ b/src/simulation/Snapshot.h
@@ -28,6 +28,8 @@ public:
std::vector<float> FanVelocityX;
std::vector<float> FanVelocityY;
+ std::vector<playerst> stickmen;
+
Snapshot() :
AirPressure(),
AirVelocityX(),
@@ -43,7 +45,8 @@ public:
BlockMap(),
ElecMap(),
FanVelocityX(),
- FanVelocityY()
+ FanVelocityY(),
+ stickmen()
{
}