1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/games/bzflag/files/patch-bzfs.cxx
Tilman Keskinoz c8370acffe Fix Build on Current
Submitted by:	Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
2002-11-24 13:59:21 +00:00

12 lines
400 B
C++

--- src/bzfs/bzfs.cxx.orig Sat Nov 23 15:03:31 2002
+++ src/bzfs/bzfs.cxx Sat Nov 23 15:03:45 2002
@@ -2805,7 +2805,7 @@
static WorldInfo *defineWorldFromFile(const char *filename)
{
// open file
- ifstream input(filename, ios::in | ios::nocreate);
+ ifstream input(filename, ios::in);
if (!input) {
cerr << "could not find bzflag world file : " << filename << endl;
return NULL;