wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src preferences.cpp


From: David White
Subject: [Wesnoth-cvs-commits] wesnoth/src preferences.cpp
Date: Sun, 15 May 2005 16:54:57 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     David White <address@hidden>    05/05/15 20:54:57

Modified files:
        src            : preferences.cpp 

Log message:
        removed default of fog and shroud for multiplayer games

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/preferences.cpp.diff?tr1=1.155&tr2=1.156&r1=text&r2=text

Patches:
Index: wesnoth/src/preferences.cpp
diff -u wesnoth/src/preferences.cpp:1.155 wesnoth/src/preferences.cpp:1.156
--- wesnoth/src/preferences.cpp:1.155   Sat May 14 20:56:21 2005
+++ wesnoth/src/preferences.cpp Sun May 15 20:54:57 2005
@@ -1,4 +1,4 @@
-/* $Id: preferences.cpp,v 1.155 2005/05/14 20:56:21 darthfool Exp $ */
+/* $Id: preferences.cpp,v 1.156 2005/05/15 20:54:57 Sirp Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -491,7 +491,7 @@
 
 bool fog()
 {      
-       return prefs["mp_fog"] != "no";
+       return prefs["mp_fog"] == "yes";
 }
 
 void set_fog(bool value)
@@ -501,7 +501,7 @@
 
 bool shroud()
 {      
-       return prefs["mp_shroud"] != "no";
+       return prefs["mp_shroud"] == "yes";
 }
 
 void set_shroud(bool value)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]