From 9ee29726124e8e6f525bedb074ba0d893b04d6d4 Mon Sep 17 00:00:00 2001 From: Anna Wiggins Date: Tue, 5 Jul 2011 22:15:52 -0400 Subject: [PATCH] Fixed a silly error - always good to return values we calculate --- gamevertex.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gamevertex.cpp b/gamevertex.cpp index 3b5025f..129fbd1 100644 --- a/gamevertex.cpp +++ b/gamevertex.cpp @@ -50,6 +50,8 @@ float GameVertex::calculate_attack() attack = 0; break; } + + return attack; }