freebsd-ports/games/znibbles/files/patch-src::Object.C
Edwin Groothuis f8f04af8ca Makes games/znibbles compiling again with gcc 3.2.1.
The patch has become somebody bigger than I was hoping for. And
the original author is MIA...

Approved by:	Yin-Jieh Chen <yinjieh@csie.nctu.edu.tw> (maintainer)
2002-10-26 14:05:11 +00:00

20 lines
511 B
C

--- src/Object.C Mon May 10 13:41:22 1999
+++ src/Object.C Sat Oct 26 00:40:49 2002
@@ -28,7 +28,7 @@
*/
#include <stdlib.h>
-#include <iostream.h>
+#include <iostream>
#include "Object.H"
#include "World.H"
@@ -89,7 +89,7 @@
do {
// if (yes)
- // cout << "Object::auto_position(): collide #" << yes << endl;
+ // std::cout << "Object::auto_position(): collide #" << yes << std::endl;
// yes++;
pos.x = rand() % world.x_dim;
pos.y = rand() % world.y_dim;