<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -29,7 +29,7 @@ Loot::Loot() : Analyzer(&quot;Loot&quot;), _showing_pickup(false), _showing_drop(false) {
 /* methods */
 void Loot::analyze() {
 	/* check inventory if it's not updated */
-	if (!Inventory::update()) {
+	if (!Inventory::updated()) {
 		World::setAction(static_cast&lt;action::Action*&gt; (new action::ListInventory(this)));
 		return;
 	}</diff>
      <filename>Analyzers/Loot.cpp</filename>
    </modified>
    <modified>
      <diff>@@ -163,10 +163,9 @@ const bool&amp; Inventory::updated() {
 	return _updated;
 }
 
-const bool&amp; Inventory::update() {
+void Inventory::update() {
 	_updated = false;
 	_extrinsics_updated = false;
-	return Inventory::updated();
 }
 
 /* private methods */</diff>
      <filename>Inventory.cpp</filename>
    </modified>
    <modified>
      <diff>@@ -22,7 +22,7 @@ public:
 	static void removeItem(const unsigned char&amp; key, const Item&amp; item);
 	static const unsigned long long int&amp; extrinsicsFromItems();
 	static const bool&amp; updated();
-	static const bool&amp; update();
+	static void update();
 
 private:
 	static bool _updated;</diff>
      <filename>Inventory.h</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>73b40f7695b88be672d3c55ac71b0b87e22f6130</id>
    </parent>
  </parents>
  <author>
    <name>Vidar Wahlberg</name>
    <email>canidae@exent.net</email>
  </author>
  <url>http://github.com/canidae/saiph/commit/10c5c2e1d2fb59b7b1c33ec84e7407daef08152e</url>
  <id>10c5c2e1d2fb59b7b1c33ec84e7407daef08152e</id>
  <committed-date>2009-11-07T08:35:55-08:00</committed-date>
  <authored-date>2009-11-07T08:35:55-08:00</authored-date>
  <message>refactoring went wrong, kept on checking inventory</message>
  <tree>fbe6d1aab40b4ba6c72345c38d72990e3814d47a</tree>
  <committer>
    <name>Vidar Wahlberg</name>
    <email>canidae@exent.net</email>
  </committer>
</commit>
