1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/games/pipenightdreams/files/patch-pipe.cpp
Eric Anholt 912a0e2310 Unbreak with new GCC by fixing bad C++ code.
PR:		77809
Submitted by:	self
Approved by:	maintainer timeout (2 months)
2005-04-23 21:06:40 +00:00

17 lines
351 B
C++

--- src/pipe.cpp.orig Sat Jan 1 14:45:09 2005
+++ src/pipe.cpp Sat Jan 1 14:45:19 2005
@@ -43,11 +43,11 @@
return !(full_level>0) && !fixed;
}
-void Pipe::setFixed(bool flag=true){
+void Pipe::setFixed(bool flag){
fixed=flag;
}
-void Pipe::setBonus(Bonus bonus=NormalBonus){
+void Pipe::setBonus(Bonus bonus){
this->bonus=bonus;
}