From 08e1d40d6e8466a56d03dc77f308059cf3547763 Mon Sep 17 00:00:00 2001
From: darkrose <lisa@ltmnet.com>
Date: Sun, 24 Jun 2012 03:10:17 +1000
Subject: Add support for "textures/all" (and thus texture packs) to server

---
 src/server.cpp | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src')

diff --git a/src/server.cpp b/src/server.cpp
index f793c770b..b125bff8d 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -3965,6 +3965,8 @@ void Server::fillMediaCache()
 		paths.push_back(mod.path + DIR_DELIM + "sounds");
 		paths.push_back(mod.path + DIR_DELIM + "media");
 	}
+	std::string path_all = "textures";
+	paths.push_back(path_all + DIR_DELIM + "all");
 	
 	// Collect media file information from paths into cache
 	for(std::list<std::string>::iterator i = paths.begin();
-- 
cgit v1.2.3