From 8c1c2d00952a4821f7b7a5380d76e97725042dea Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Mon, 1 Nov 2004 06:30:35 +0000 Subject: [PATCH] fix compile error --- stepmania/src/ScreenEdit.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ScreenEdit.cpp b/stepmania/src/ScreenEdit.cpp index eae0622a89..5c9d671aa8 100644 --- a/stepmania/src/ScreenEdit.cpp +++ b/stepmania/src/ScreenEdit.cpp @@ -767,10 +767,11 @@ void ScreenEdit::Input( const DeviceInput& DeviceI, const InputEventType type, c if( m_In.IsTransitioning() || m_Out.IsTransitioning() ) return; + const DeviceInput& di = #if defined(XBOX) - DeviceInput di = TranslateInput(DeviceI, type); + TranslateInput(DeviceI, type); #else - DeviceInput& di = DeviceI; + DeviceI; #endif switch( m_EditMode )