diff options
Diffstat (limited to 'Stars45/Element.cpp')
-rw-r--r-- | Stars45/Element.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/Element.cpp b/Stars45/Element.cpp index 7b3c099..4cb36a9 100644 --- a/Stars45/Element.cpp +++ b/Stars45/Element.cpp @@ -35,7 +35,7 @@ zone_lock(0), respawns(0), count(0), rogue(false), playable(true), intel(0) {
if (!call_sign) {
char buf[32];
- sprintf(buf, "Pkg %d", id);
+ sprintf_s(buf, "Pkg %d", id);
name = buf;
}
|