diff options
Diffstat (limited to 'nGenEx/Bolt.cpp')
-rw-r--r-- | nGenEx/Bolt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nGenEx/Bolt.cpp b/nGenEx/Bolt.cpp index af758b8..997ee51 100644 --- a/nGenEx/Bolt.cpp +++ b/nGenEx/Bolt.cpp @@ -71,7 +71,7 @@ Bolt::Bolt(double len, double wid, Bitmap* tex, int share) radius = (float) ((length>width) ? (length) : (width*2));
if (texture) {
- strncpy(name, texture->GetFilename(), 31);
+ strncpy_s(name, texture->GetFilename(), 31);
name[31] = 0;
}
}
|