Le vendredi 29 octobre 2004 à 01:15 +0200, Michael Prager a écrit :
> Bug No.1: it doesn't compile :-P
Fuck. It's because I always compile in DEBUG mode. Here you have the
patch. I may produce a new release ... done ! (same name, same file,
another MD5 :))
Bye, Haypo
Index: src/weapon/weapon.cpp
===================================================================
RCS file: /cvs/wormux/wormux/src/weapon/weapon.cpp,v
retrieving revision 1.7.2.5
diff -u -r1.7.2.5 weapon.cpp
--- src/weapon/weapon.cpp 28 Oct 2004 01:52:58 -0000 1.7.2.5
+++ src/weapon/weapon.cpp 28 Oct 2004 23:25:28 -0000
@@ -389,9 +389,9 @@
xmlpp::Element *elem = LitDocXml::AccesBalise (weapon, m_id);
if (elem == NULL)
{
- COUT_DBG << Format(_("No element <%s> found in the xml config file !"),
- m_id.c_str())
- << std::endl;
+ std::cout << Format(_("No element <%s> found in the xml config file !"),
+ m_id.c_str())
+ << std::endl;
return false;
}