diff options
Diffstat (limited to 'Stars45/Weapon.cpp')
-rw-r--r-- | Stars45/Weapon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/Weapon.cpp b/Stars45/Weapon.cpp index 26e6a8d..4aa402e 100644 --- a/Stars45/Weapon.cpp +++ b/Stars45/Weapon.cpp @@ -410,7 +410,7 @@ const char* Weapon::GetObserverName() const
{
static char name[256];
- sprintf_s(name, "Weapon %s", design->name);
+ sprintf_s(name, "Weapon %s", design->name.data());
return name;
}
|