Changeset - r10883:47e6562a16eb
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-01-23 09:09:12
rubidium@openttd.org
(svn r15218) -Fix: base graphics detection did mark too much as duplicate
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/gfxinit.cpp
Show inline comments
 
@@ -469,7 +469,7 @@ bool OBGFileScanner::AddFile(const char 
 
	if (FillGraphicsSetDetails(graphics, ini, path)) {
 
		bool duplicate = false;
 
		for (const GraphicsSet *c = _available_graphics_sets; !duplicate && c != NULL; c = c->next) {
 
			duplicate = (strcmp(c->name, graphics->name) == 0) || (c->shortname == graphics->shortname && c->version == graphics->version);
 
			duplicate = (strcmp(c->name, graphics->name) == 0 || c->shortname == graphics->shortname) && c->version == graphics->version;
 
		}
 
		if (duplicate) {
 
			delete graphics;
0 comments (0 inline, 0 general)