summaryrefslogtreecommitdiff
path: root/src/simulation/Simulation.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-01-24 21:19:29 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-01-24 21:19:29 (GMT)
commit04e4a2346d3d7ef6e0f0b38d8eafc928dc6e30bd (patch)
tree90dd247e31d85db8c66466f08308360d9c39fe9c /src/simulation/Simulation.cpp
parent97b35bc47059315d4138c8e0827842d2c03de152 (diff)
downloadpowder-04e4a2346d3d7ef6e0f0b38d8eafc928dc6e30bd.zip
powder-04e4a2346d3d7ef6e0f0b38d8eafc928dc6e30bd.tar.gz
Wall menus
Diffstat (limited to 'src/simulation/Simulation.cpp')
-rw-r--r--src/simulation/Simulation.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp
index e938efd..61d8ae7 100644
--- a/src/simulation/Simulation.cpp
+++ b/src/simulation/Simulation.cpp
@@ -3186,6 +3186,10 @@ Simulation::Simulation():
menu_section * msectionsT = LoadMenus(menuCount);
memcpy(msections, msectionsT, menuCount * sizeof(menu_section));
+ int wallCount;
+ wall_type * wtypesT = LoadWalls(wallCount);
+ memcpy(wtypes, wtypesT, wallCount * sizeof(wall_type));
+
int elementCount;
part_type * ptypesT = LoadElements(elementCount);
memcpy(ptypes, ptypesT, elementCount * sizeof(part_type));