diff options
author | rhyskidd <rhyskidd@076cb2c4-205e-83fd-5cf3-1be9aa105544> | 2012-05-30 13:11:56 +0000 |
---|---|---|
committer | rhyskidd <rhyskidd@076cb2c4-205e-83fd-5cf3-1be9aa105544> | 2012-05-30 13:11:56 +0000 |
commit | 035cfd86e5d221cffb2673e936dcb8703e28ce4b (patch) | |
tree | c85f160125c9b5f7e765994e39623e06855e85e2 /Stars45/Shot.cpp | |
parent | 29645ca3a17033577a290eb8c4b59515d9669378 (diff) | |
download | starshatter-035cfd86e5d221cffb2673e936dcb8703e28ce4b.zip starshatter-035cfd86e5d221cffb2673e936dcb8703e28ce4b.tar.gz starshatter-035cfd86e5d221cffb2673e936dcb8703e28ce4b.tar.bz2 |
Fix further instances of a class being passed as variable to Print(), instead of the string data itself
Diffstat (limited to 'Stars45/Shot.cpp')
-rw-r--r-- | Stars45/Shot.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Stars45/Shot.cpp b/Stars45/Shot.cpp index 6f3ee93..8311843 100644 --- a/Stars45/Shot.cpp +++ b/Stars45/Shot.cpp @@ -1,6 +1,6 @@ /* Project Starshatter 4.5
Destroyer Studios LLC
- Copyright © 1997-2004. All Rights Reserved.
+ Copyright (C) 1997-2004. All Rights Reserved.
SUBSYSTEM: Stars.exe
FILE: 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_s(name, "Shot(%s)", design->name);
+ sprintf_s(name, "Shot(%s)", design->name.data());
}
// +--------------------------------------------------------------------+
|