summaryrefslogtreecommitdiff
path: root/game/activityOf.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/activityOf.h')
-rw-r--r--game/activityOf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/activityOf.h b/game/activityOf.h
index a26efd1..c245866 100644
--- a/game/activityOf.h
+++ b/game/activityOf.h
@@ -6,10 +6,10 @@
template<typename T> class Activity::Of : public Activity {
void
- apply(Vehicle * v, TickDuration dur) const override
+ apply(Vehicle * v, TickDuration dur) override
{
if (auto tv = dynamic_cast<Can<T> *>(v)) {
- tv->doActivity(static_cast<const T *>(this), dur);
+ tv->doActivity(static_cast<T *>(this), dur);
}
}
};