forked from github/server
Merge branch 'master' of /home/eressea/repo/eressea
This commit is contained in:
commit
e882033359
|
@ -416,6 +416,9 @@ function test_alliance()
|
||||||
assert(f1.alliance~=nil)
|
assert(f1.alliance~=nil)
|
||||||
assert(f2.alliance~=nil)
|
assert(f2.alliance~=nil)
|
||||||
assert(f2.alliance==f1.alliance)
|
assert(f2.alliance==f1.alliance)
|
||||||
|
for f in f1.alliance.factions do
|
||||||
|
assert_true(f==f1 or f==f2)
|
||||||
|
end
|
||||||
u1:clear_orders()
|
u1:clear_orders()
|
||||||
u2:clear_orders()
|
u2:clear_orders()
|
||||||
u2:add_order("ALLIANZ AUSSTOSSEN " .. itoa36(f1.id))
|
u2:add_order("ALLIANZ AUSSTOSSEN " .. itoa36(f1.id))
|
||||||
|
|
|
@ -57,6 +57,7 @@
|
||||||
<PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile>
|
<PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile>
|
||||||
<WarningLevel>Level4</WarningLevel>
|
<WarningLevel>Level4</WarningLevel>
|
||||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
<TreatWarningAsError>true</TreatWarningAsError>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<AdditionalDependencies>libxml2.lib;pdcurses.lib;lua.lib;tolua.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>libxml2.lib;pdcurses.lib;lua.lib;tolua.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
@ -74,6 +75,7 @@
|
||||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
<WarningLevel>Level3</WarningLevel>
|
<WarningLevel>Level3</WarningLevel>
|
||||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<TreatWarningAsError>true</TreatWarningAsError>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<AdditionalDependencies>libxml2.lib;pdcurses.lib;lua.lib;tolua.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>libxml2.lib;pdcurses.lib;lua.lib;tolua.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
|
Loading…
Reference in New Issue