summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Shot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Shot.cpp')
-rw-r--r--Stars45/Shot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/Shot.cpp b/Stars45/Shot.cpp
index 9b10e87..6f3ee93 100644
--- a/Stars45/Shot.cpp
+++ b/Stars45/Shot.cpp
@@ -133,7 +133,7 @@ charge(1.0f), design(dsn), offset(1.0e5f), altitude_agl(-1.0e6f), hit_target(fal
Observe((SimObject*) owner);
}
- sprintf(name, "Shot(%s)", design->name);
+ sprintf_s(name, "Shot(%s)", design->name);
}
// +--------------------------------------------------------------------+