1
0
Fork 0

(svn r19712) -Fix (r19708): if the parent was a town, the parent wasn't shown

release/1.1
rubidium 2010-04-24 18:39:38 +00:00
parent 46a0fa6eda
commit 03c6f51c84
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ static const NIVariable _niv_towns[] = {
};
class NIHTown : public NIHelper {
bool IsInspectable(uint index) const { return false; }
bool IsInspectable(uint index) const { return Town::IsValidID(index); }
uint GetParent(uint index) const { return UINT32_MAX; }
const void *GetInstance(uint index)const { return Town::Get(index); }
const void *GetSpec(uint index) const { return NULL; }