From e681d155d9cbc27bdacc05bd967a249c56e3f1f1 Mon Sep 17 00:00:00 2001 From: Steven Fuller Date: Sat, 9 Feb 2002 19:30:43 +0000 Subject: Disable Gold-only weapons for Regular edition (Tim Beckmann) fixed compiling with -DNDEBUG --- src/win95/awtexld.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/win95/awtexld.cpp') diff --git a/src/win95/awtexld.cpp b/src/win95/awtexld.cpp index bef0b26..fa615bb 100644 --- a/src/win95/awtexld.cpp +++ b/src/win95/awtexld.cpp @@ -228,7 +228,7 @@ namespace AwTl db_log1(("AW: Potential Memory Leaks Detected!!!")); } #ifdef _CPPRTTI - #warning "Run-Time Type Identification (RTTI) is enabled" + //#warning "Run-Time Type Identification (RTTI) is enabled" for (Iterator itLeak(*this) ; !itLeak.Done() ; itLeak.Next()) { db_logf1(("\tAW Object not deallocated: Type: %s RefCnt: %u",typeid(*itLeak.Get()).name(),itLeak.Get()->m_nRefCnt)); @@ -238,7 +238,7 @@ namespace AwTl db_log1(("AW: Object dump complete")); } #else // ! _CPPRTTI - #warning "Run-Time Type Identification (RTTI) is not enabled - memory leak checking will not report types" + //#warning "Run-Time Type Identification (RTTI) is not enabled - memory leak checking will not report types" unsigned nRefs(0); for (Iterator itLeak(*this) ; !itLeak.Done() ; itLeak.Next()) { -- cgit v1.3