summaryrefslogtreecommitdiff
path: root/src/aystar.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-10-04 17:10:57 +0000
committersmatz <smatz@openttd.org>2009-10-04 17:10:57 +0000
commit32cbe57178129d371752e29e857fa454a046f7c3 (patch)
treec1dd06f2f7e052ee5bbbe6e388d6546da67648a3 /src/aystar.cpp
parent1666f7a1a926eec76a5ae12d54debf4f13bca269 (diff)
downloadopenttd-32cbe57178129d371752e29e857fa454a046f7c3.tar.xz
(svn r17692) -Codechange: minor coding style fixes
Diffstat (limited to 'src/aystar.cpp')
-rw-r--r--src/aystar.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/aystar.cpp b/src/aystar.cpp
index dfd3a3a81..ef8b7657e 100644
--- a/src/aystar.cpp
+++ b/src/aystar.cpp
@@ -240,7 +240,8 @@ void AyStarMain_Clear(AyStar *aystar)
* aystar->clear() is called. Note that when you stop the algorithm halfway,
* you should still call clear() yourself!
*/
-int AyStarMain_Main(AyStar *aystar) {
+int AyStarMain_Main(AyStar *aystar)
+{
int r, i = 0;
/* Loop through the OpenList
* Quit if result is no AYSTAR_STILL_BUSY or is more than loops_per_tick */