[Lunar-commits] <moonbase-other> sumwars: patch more lua scripts for 5.2

v4hn me at v4hn.de
Sun Nov 17 15:48:34 CET 2013


commit 8effcd0a537a497d2f78b7094c88669b3781d688
Author: v4hn <me at v4hn.de>
Date: Sun, 17 Nov 2013 06:48:02 -0800
URL: https://github.com/lunar-linux/moonbase-other/commit/8effcd0a537a497d2f78b7094c88669b3781d688

sumwars: patch more lua scripts for 5.2
---
  games/sumwars/PRE_BUILD | +1/-1     
  1 file changed, 1 insertion(+), 1 deletion(-)

--- a/games/sumwars/PRE_BUILD
+++ b/games/sumwars/PRE_BUILD
@@ -3,6 +3,6 @@ default_pre_build &&
 sedit '419a\
   -ldl -lboost_system' CMakeLists.txt &&
 
-sedit 's/table\.getn(\([^)]*\))/#\1/g' share/data/lua/*.lua &&
+sedit 's/table\.getn(\([^)]*\))/#\1/g; s/math\.mod(/math\.fmod(/g' share/data/{abilities,items,npc,objects,projectiles,quests,renderinfo,world,lua}/* &&
 
 patch_it $SOURCE2 1




More information about the Lunar-commits mailing list