Browse Source

Fix compiler warning

rdb 11 years ago
parent
commit
4f3cc072c2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      contrib/src/ai/aiBehaviors.cxx

+ 1 - 0
contrib/src/ai/aiBehaviors.cxx

@@ -1184,6 +1184,7 @@ string AIBehaviors::behavior_status(string ai_type) {
 
       default:
         cout<<"Invalid value!"<<endl;
+        return "invalid";
     }
   }