/*
-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
void Teleporter::setName(const char *name)
{
- strncpy(this->name, name, sizeof this->name);
+ strlcpy(this->name, name, sizeof this->name);
}
void Teleporter::set(int x, int y, int destX, int destY)