Fix again. This needs to be fixed properly

ryzomclassic-develop
kaetemi 5 years ago
parent b159620fcc
commit de6eae7e0f

@ -511,7 +511,7 @@ void CBankAccessor_GUILD::TGUILD::TOUTPOST::TO::TSQUADS::init(ICDBStructNode *pa
{ {
node = parent->getNode( ICDBStructNode::CTextId(NLMISC::toString("SP%u", i)), false ); node = parent->getNode( ICDBStructNode::CTextId(NLMISC::toString("SP%u", i)), false );
nlassert(node != NULL); nlassert(node != NULL);
_SP[i].init(node, i); C_SP[i].init(node, i);
} }
for (uint i=0; i<24; ++i) for (uint i=0; i<24; ++i)

@ -967,7 +967,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
private: private:
ICDBStructNode *_BranchNode; ICDBStructNode *_BranchNode;
TSP _SP[24]; TSP C_SP[24];
TT _T[24]; TT _T[24];
@ -983,7 +983,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
TSP &getSP(uint32 index) TSP &getSP(uint32 index)
{ {
nlassert(index < 24); nlassert(index < 24);
return _SP[index]; return C_SP[index];
} }
TT &getT(uint32 index) TT &getT(uint32 index)
{ {

Loading…
Cancel
Save