summaryrefslogtreecommitdiff
path: root/application/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'application/main.cpp')
-rw-r--r--application/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/main.cpp b/application/main.cpp
index 1ca2192..9120376 100644
--- a/application/main.cpp
+++ b/application/main.cpp
@@ -90,7 +90,7 @@ public:
for (int N = 0; N < 6; N++) {
train->create<RailVehicle>(b47);
}
- train->orders.removeAll();
+ train->orders.clear();
train->orders.create<FreeRoam>(&train->orders);
train->currentActivity = train->orders.current()->createActivity();
@@ -113,7 +113,7 @@ public:
mainLoop();
- world.removeAll();
+ world.clear();
return 0;
}
};