[atlantik-cvs] CVS: kdegames/atlantik/libatlantic trade.h,1.11.8.4,1.11.8.5
| Newsgroups | gmane.comp.kde.devel.atlantik |
|---|---|
| Message-ID | <[email protected]> |
Update of /home/kde/kdegames/atlantik/libatlantic
In directory office:/tmp/cvs-serv19996/atlantik/libatlantic
Modified Files:
Tag: KDE_3_1_BRANCH
trade.h
Log Message:
fix compilation (gcc 3.4+)
Index: trade.h
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantic/trade.h,v
retrieving revision 1.11.8.4
retrieving revision 1.11.8.5
diff -u -d -r1.11.8.4 -r1.11.8.5
--- trade.h 12 Jul 2003 18:15:30 -0000 1.11.8.4
+++ trade.h 17 Jul 2003 00:35:12 -0000 1.11.8.5
@@ -121,8 +121,8 @@
for (QPtrListIterator<Player> i(mPlayers()); *i; ++i)
{
if (
- (*i)->from()==from
- && (*i)->to()==to
+ i.current()->from()==from
+ && i.current()->to()==to
&& dynamic_cast<Player*>(*i)
)
{