1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +02:00

Made a few functions static or static inline.

This commit is contained in:
Frank Zago
2009-05-23 22:57:39 +00:00
parent 938aaac2ca
commit 6635cf4f23
18 changed files with 49 additions and 50 deletions

View File

@ -248,7 +248,7 @@ int CGObjectInstance::getSightRadious() const
return 3;
}
int lowestSpeed(const CGHeroInstance * chi)
static int lowestSpeed(const CGHeroInstance * chi)
{
if(!chi->army.slots.size())
{
@ -2994,4 +2994,4 @@ void CGOnceVisitable::searchTomb(const CGHeroInstance *h, ui32 accept) const
//add player to the visitors (for visited tooltop)
cb->setObjProperty(id,10,h->getOwner());
}
}
}