Follow-up Comment #2, bug #15264 (project freeciv): > You should be able to modify the ruleset after a map is > loaded.
Do you meant: 'You *shouldn't* ...'? hot fix attached (for S2_2 + trunk and S2_1): fix rulesetdir in scenarios * ruleset.(game|tech|...) = "default" and similar is not used anymore; use rulesetdir = "default" instead in the scenario definitions * the ruleset can't be changed after a scenario was loaded * modify the 'end' command to consider the above listed change problem: two calls to 'end' are needed after a scenario was loaded to return to a clean state I could not compile test the S2_1 version due to the following error: # make | grep warn cc1: warnings being treated as errors ltable.c: In function ‘luaH_mainposition’: ltable.c:108: error: cast from pointer to integer of different size ltable.c:110: error: cast from pointer to integer of different size (file #7883, file #7884) _______________________________________________________ Additional Item Attachment: File name: S2_2-trunk-0001-fix-rulesetdir-in-scenarios.patch Size:5 KB File name: S2_1-0001-fix-rulesetdir-in-scenarios-S2_1.patch Size:5 KB _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?15264> _______________________________________________ Nachricht geschickt von/durch Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freecivfirstname.lastname@example.org https://mail.gna.org/listinfo/freeciv-dev