summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/cischeat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/cischeat.cpp')
-rw-r--r--src/mame/drivers/cischeat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/cischeat.cpp b/src/mame/drivers/cischeat.cpp
index c116effd6d0..4ca173f82b7 100644
--- a/src/mame/drivers/cischeat.cpp
+++ b/src/mame/drivers/cischeat.cpp
@@ -573,7 +573,7 @@ void cischeat_state::captflag_motor_move(int side, UINT16 data)
{
UINT16 & pos = m_captflag_motor_pos[side];
- timer_device & dev = ((side == RIGHT) ? m_captflag_motor_right : m_captflag_motor_left);
+ timer_device &dev((side == RIGHT) ? *m_captflag_motor_right : *m_captflag_motor_left);
// bool busy = !(dev.time_left() == attotime::never);
bool busy = false;