From f17112ecf8c79a9b250d40f266c7e428d94f31fa Mon Sep 17 00:00:00 2001
From: nemoyatpeace <dwhittaker@ics.edu.sg>
Date: Thu, 17 Jul 2014 00:53:52 +0800
Subject: [PATCH] Minor adjustment to the aoe script

---
 app/lib/surface/CocoSprite.coffee | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/lib/surface/CocoSprite.coffee b/app/lib/surface/CocoSprite.coffee
index 6f680e00c..3bc8e7330 100644
--- a/app/lib/surface/CocoSprite.coffee
+++ b/app/lib/surface/CocoSprite.coffee
@@ -250,7 +250,7 @@ module.exports = CocoSprite = class CocoSprite extends CocoClass
         endAngle = args[5]
         circle.graphics.beginFill(args[3])
           .lineTo(0, 0)
-          .lineTo(radius * Math.cos(startAngle), radius * Math.sin(endAngle))
+          .lineTo(radius * Math.cos(startAngle), radius * Math.sin(startAngle))
           .arc(0, 0, radius, startAngle, endAngle)
           .lineTo(0, 0)
       circle.x = pos.x