]> git.mxchange.org Git - quix0rs-blobwars.git/blobdiff - src/CWeapon.h
Fix reading one element past the end of an array.
[quix0rs-blobwars.git] / src / CWeapon.h
old mode 100755 (executable)
new mode 100644 (file)
index 2f0c080..582b25a
@@ -1,5 +1,6 @@
 /*
-Copyright (C) 2004 Parallel Realities
+Copyright (C) 2004-2011 Parallel Realities
+Copyright (C) 2011-2015 Perpendicular Dimensions
 
 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
@@ -30,6 +31,6 @@ class Weapon {
 
        Weapon();
        void setName(const char *name);
-       int getSpeed(int face);
+       int getSpeed(int face) const;
 
 };