From 9b8da1f06a96d49b33b410601edfdd0f1c8ad1a0 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Tue, 2 Feb 2010 20:08:44 -0600 Subject: [PATCH] fix compile --- src/Course.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Course.cpp b/src/Course.cpp index dfda217e03..f74d8d2090 100644 --- a/src/Course.cpp +++ b/src/Course.cpp @@ -722,7 +722,7 @@ bool Course::HasTimedMods() const { for( unsigned s=0; s < e->attacks.size(); s++ ) { - Attack &attack = e->attacks[s]; + const Attack attack = e->attacks[s]; if(!attack.bGlobal) return true; }