fix CRLF massacre

This commit is contained in:
Enno Rehling 2011-03-07 08:31:59 +01:00
parent 9c8779b303
commit 610c6799ea

View file

@ -446,7 +446,7 @@ static int tolua_levitate_ship(lua_State * L)
#endif /* */
static int tolua_spawn_braineaters(lua_State * L)
static int tolua_spawn_braineaters(lua_State * L)
{
float chance = (float)tolua_tonumber(L, 1, 0);
spawn_braineaters(chance);
@ -709,7 +709,7 @@ static int tolua_levitate_ship(lua_State * L)
#include <util/functions.h>
#include <util/xml.h>
#include <kernel/spell.h>
static int tolua_write_spells(lua_State * L)
static int tolua_write_spells(lua_State * L)
{
spell_f fun = (spell_f) get_function("lua_castspell");
const char *filename = "magic.xml";
@ -740,7 +740,7 @@ static int tolua_levitate_ship(lua_State * L)
xmlNewProp(cnode, BAD_CAST "amount", xml_i(comp->amount));
xmlNewProp(cnode, BAD_CAST "cost", BAD_CAST costs[comp->cost]);
xmlAddChild(node, cnode);
} }
}}
if (sp->sptyp & TESTCANSEE) {
xmlNewProp(node, BAD_CAST "los", BAD_CAST "true");
}