summaryrefslogtreecommitdiff
path: root/src/simulation/Simulation.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-02-11 17:04:39 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-02-11 17:04:39 (GMT)
commit725f1aff8512cd3c1f89f4e54fe2c6cd588fb62c (patch)
tree0cfc406f020ff2bcd0ff3ca8bfdf8e536cf8cb07 /src/simulation/Simulation.cpp
parent9f7b06ff47e12076a261b6a209b27c558741eb8a (diff)
downloadpowder-725f1aff8512cd3c1f89f4e54fe2c6cd588fb62c.zip
powder-725f1aff8512cd3c1f89f4e54fe2c6cd588fb62c.tar.gz
Fix thumbnail alignment for save buttons, add code for building PSv format
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 9e58f22..73757da 100644
--- a/src/simulation/Simulation.cpp
+++ b/src/simulation/Simulation.cpp
@@ -15,7 +15,7 @@ int Simulation::Load(unsigned char * data, int dataLength)
unsigned char * Simulation::Save(int & dataLength)
{
- return SaveLoader::BuildSave(dataLength, this);
+ return SaveLoader::BuildSave(dataLength, this, 0, 0, XRES, YRES);
}
void Simulation::clear_area(int area_x, int area_y, int area_w, int area_h)