1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +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

@@ -261,7 +261,7 @@ inline void delObjRect(const int & x, const int & y, const int & z, const int &
return;
}
}
int getDir(int3 src, int3 dst)
static int getDir(int3 src, int3 dst)
{
int ret = -1;
if(dst.x+1 == src.x && dst.y+1 == src.y) //tl