Author: esr
Date: Thu Nov 1 22:46:33 2007
New Revision: 21394
URL: http://svn.gna.org/viewcvs/wesnoth?rev=21394&view=rev
Log:
Disable linger mode when video is faked, e.g we're in --no-gui mode.
Modified:
trunk/src/playcampaign.cpp
Modified: trunk/src/playcampaign.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/playcampaign.cpp?rev=21394&r1=21393&r2=21394&view=diff
==============================================================================
--- trunk/src/playcampaign.cpp (original)
+++ trunk/src/playcampaign.cpp Thu Nov 1 22:46:33 2007
@@ -134,7 +134,7 @@
).show();
}
- if (res != QUIT && res != LEVEL_CONTINUE && res !=
LEVEL_CONTINUE_NO_SAVE)
+ if (!disp.video().faked() && res != QUIT && res != LEVEL_CONTINUE &&
res != LEVEL_CONTINUE_NO_SAVE)
try {
playcontroller.linger(log);
} catch(end_level_exception& e) {
@@ -165,7 +165,7 @@
).show();
}
- if (res != QUIT && res != LEVEL_CONTINUE && res !=
LEVEL_CONTINUE_NO_SAVE)
+ if (!disp.video().faked() && res != QUIT && res != LEVEL_CONTINUE &&
res != LEVEL_CONTINUE_NO_SAVE)
try {
playcontroller.linger(log, res);
} catch(end_level_exception& e) {
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits