]> git.mxchange.org Git - quix0rs-blobwars.git/blobdiff - src/CTrap.cpp
Capitalize Makefiles.
[quix0rs-blobwars.git] / src / CTrap.cpp
index 224f924a8a67ecf1ee3d15d3057d3dfd9d625b26..8c758b7a5351f311a6175e6003d52313a9abc02e 100644 (file)
@@ -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,7 +31,7 @@ Trap::Trap()
 
 void Trap::setName(const char *name)
 {
-       strncpy(this->name, name, sizeof this->name);
+       strlcpy(this->name, name, sizeof this->name);
 }
 
 void Trap::setTrapType(int type)