about summary refs log tree commit diff
path: root/bam.lua
diff options
context:
space:
mode:
authorGreYFoX <GreYFoXGTi@GMaiL.CoM>2011-03-03 02:44:15 +0200
committeroy <Tom_Adams@web.de>2011-03-31 23:12:07 +0200
commit312e36ff04af22352f2f9d21238f986ef59a9c1d (patch)
tree8aeaf67546ff35a99b649079dc1812704d7838dd /bam.lua
parentc2ed5f70936e0f379046e02f894fd2f6635f6b28 (diff)
downloadzcatch-312e36ff04af22352f2f9d21238f986ef59a9c1d.tar.gz
zcatch-312e36ff04af22352f2f9d21238f986ef59a9c1d.zip
Added Missing Server Icon
Diffstat (limited to 'bam.lua')
-rw-r--r--bam.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/bam.lua b/bam.lua
index fb03fe65..0c953e84 100644
--- a/bam.lua
+++ b/bam.lua
@@ -110,6 +110,7 @@ nethash = CHash("src/game/generated/nethash.c", "src/engine/shared/protocol.h",
 
 client_link_other = {}
 client_depends = {}
+server_link_other = {}
 
 if family == "windows" then
 	table.insert(client_depends, CopyToDirectory(".", "other\\freetype\\lib\\freetype.dll"))
@@ -117,8 +118,10 @@ if family == "windows" then
 
 	if config.compiler.driver == "cl" then
 		client_link_other = {ResCompile("other/icons/teeworlds_cl.rc")}
+		server_link_other = {ResCompile("other/icons/teeworlds_srv_cl.rc")}
 	elseif config.compiler.driver == "gcc" then
 		client_link_other = {ResCompile("other/icons/teeworlds_gcc.rc")}
+		server_link_other = {ResCompile("other/icons/teeworlds_srv_gcc.rc")}
 	end
 end
 
@@ -240,7 +243,7 @@ function build(settings)
 		client_link_other, client_osxlaunch)
 
 	server_exe = Link(server_settings, "teeworlds_srv", engine, server,
-		game_shared, game_server, zlib)
+		game_shared, game_server, zlib, server_link_other)
 
 	serverlaunch = {}
 	if platform == "macosx" then