From 89c0bc88bd4ebdc44dfb99235609c90e968af533 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 15 Nov 2009 14:20:13 +0000 Subject: added core::Info id, changed network info message, updated entity network message to include the info id --- src/game/base/commodity.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/game/base/commodity.cc') 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() -- cgit v1.2.3