mail[Wesnoth-commits] r44662 - /trunk/src/game.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by alinktomine on July 25, 2010 - 03:24:
Author: alink
Date: Sun Jul 25 03:24:56 2010
New Revision: 44662

URL: http://svn.gna.org/viewcvs/wesnoth?rev=44662&view=rev
Log:
Halve starting time for editor when using --editor
by skipping the first cache reading/building done for the unused main menu.

Modified:
    trunk/src/game.cpp

Modified: trunk/src/game.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game.cpp?rev=44662&r1=44661&r2=44662&view=diff
==============================================================================
--- trunk/src/game.cpp (original)
+++ trunk/src/game.cpp Sun Jul 25 03:24:56 2010
@@ -591,6 +591,9 @@
 
        if (test_mode_)
                cache_.add_define("TEST");
+
+       if (jump_to_editor_)
+               cache_.add_define("EDITOR");
 
        load_game_cfg(force);
 




Related Messages


Powered by MHonArc, Updated Sun Jul 25 03:40:13 2010