Changeset - r11339:f1b261b1e1be
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-03-12 20:43:03
rubidium@openttd.org
(svn r15694) -Codechange/feature/fix: invert the order in which base graphics sets are queried making it fairly unlikely that downloaded graphics sets override the original graphics.
1 file changed with 4 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/gfxinit.cpp
Show inline comments
 
@@ -467,8 +467,10 @@ bool OBGFileScanner::AddFile(const char 
 
		if (duplicate) {
 
			delete graphics;
 
		} else {
 
			graphics->next = _available_graphics_sets;
 
			_available_graphics_sets = graphics;
 
			GraphicsSet **last = &_available_graphics_sets;
 
			while (*last != NULL) last = &(*last)->next;
 

	
 
			*last = graphics;
 
			ret = true;
 
		}
 
	} else {
0 comments (0 inline, 0 general)