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:
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user