Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-11-15 14:20:13 +0000
committerStijn Buys <ingar@osirion.org>2009-11-15 14:20:13 +0000
commit89c0bc88bd4ebdc44dfb99235609c90e968af533 (patch)
tree1f381edf91aff4da09ea3b1515107dd20c19a71e /src/game/base/commodity.cc
parentb513c7d9bf6fba4a26e734ce405996f665d9c835 (diff)
added core::Info id, changed network info message, updated entity network message to include the info id
Diffstat (limited to 'src/game/base/commodity.cc')
-rw-r--r--src/game/base/commodity.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/base/commodity.cc b/src/game/base/commodity.cc
index d41d370..4f238be 100644
--- a/src/game/base/commodity.cc
+++ b/src/game/base/commodity.cc
@@ -16,9 +16,8 @@ namespace game
core::InfoType *Commodity::commodity_infotype = 0;
-Commodity::Commodity() : core::Info()
+Commodity::Commodity() : core::Info(commodity_infotype)
{
- set_type(commodity_infotype);
}
Commodity::~Commodity()