|
From: Crossfire C. r. messages.
<cro...@li...> - 2009-10-24 21:49:24
|
Revision: 12221
http://crossfire.svn.sourceforge.net/crossfire/?rev=12221&view=rev
Author: akirschbaum
Date: 2009-10-24 21:49:18 +0000 (Sat, 24 Oct 2009)
Log Message:
-----------
Fix incorrect error check.
Modified Paths:
--------------
server/trunk/common/loader.l
Modified: server/trunk/common/loader.l
===================================================================
--- server/trunk/common/loader.l 2009-10-24 21:42:20 UTC (rev 12220)
+++ server/trunk/common/loader.l 2009-10-24 21:49:18 UTC (rev 12221)
@@ -734,7 +734,7 @@
if (tmp->arch && (arch_init == 0)) {
object_insert_in_ob(tmp, op);
} else {
- if (init_archetypes == 0)
+ if (arch_init == 0)
LOG(llevDebug, "Discarding object without arch: %s\n", tmp->name ? tmp->name : "(null)");
object_free(tmp);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|