From ff6bddec32309397fced37216a9287db30c100fc Mon Sep 17 00:00:00 2001
From: johns <>
Date: Mon, 19 Mar 2001 01:47:21 +0000
Subject: [PATCH] Fixed compile without CCL support.

---
 src/unit/upgrade.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/unit/upgrade.cpp b/src/unit/upgrade.cpp
index 18ce6e97c..32dfb1fb6 100644
--- a/src/unit/upgrade.cpp
+++ b/src/unit/upgrade.cpp
@@ -749,7 +749,9 @@ global void ParsePudUGRD(const char* ugrd,int length)
     int icon;
     int group;
     int flags;
+#ifdef USE_CCL
     int costs[MaxCosts];
+#endif
 
     DebugLevel3Fn(" Length %d\n",length);
     DebugCheck( length!=780 );