From 035cfd86e5d221cffb2673e936dcb8703e28ce4b Mon Sep 17 00:00:00 2001 From: rhyskidd Date: Wed, 30 May 2012 13:11:56 +0000 Subject: Fix further instances of a class being passed as variable to Print(), instead of the string data itself --- Stars45/WeaponDesign.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Stars45/WeaponDesign.cpp') diff --git a/Stars45/WeaponDesign.cpp b/Stars45/WeaponDesign.cpp index 524e50e..5ef9cae 100644 --- a/Stars45/WeaponDesign.cpp +++ b/Stars45/WeaponDesign.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: WeaponDesign.cpp @@ -696,7 +696,7 @@ WeaponDesign::FindModDesign(const char* name) WeaponDesign* d = mod_catalog.at(i); if (d->name == name) { - Print("WeaponDesign: found mod weapon '%s'\n", d->name); + Print("WeaponDesign: found mod weapon '%s'\n", d->name.data()); return d; } } -- cgit v1.1