[atlantik-cvs] CVS: kdegames/atlantik/libatlantic trade.h,1.16,1.17

[email protected]
Newsgroups gmane.comp.kde.devel.atlantik
Message-ID <[email protected]>
Update of /home/kde/kdegames/atlantik/libatlantic
In directory office:/tmp/cvs-serv13141

Modified Files:
	trade.h 
Log Message:
forwardport: fix compilation (gcc 3.4+)

Index: trade.h
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantic/trade.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- trade.h	12 Jul 2003 18:14:22 -0000	1.16
+++ trade.h	18 Jul 2003 00:03:16 -0000	1.17
@@ -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)
 				)
 			{
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.