diff options
author | smatz <smatz@openttd.org> | 2010-02-10 17:37:47 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2010-02-10 17:37:47 +0000 |
commit | c5b34444af495322255f4b427b3bcc10de8d3e7d (patch) | |
tree | 9f43e951fef75b427a0a1db09b714146722cf7f7 /src/pathfinder | |
parent | 023fc16894b191b4841da5f01480907653089301 (diff) | |
download | openttd-c5b34444af495322255f4b427b3bcc10de8d3e7d.tar.xz |
(svn r19084) -Codechange: minor coding-style fixups
Diffstat (limited to 'src/pathfinder')
-rw-r--r-- | src/pathfinder/npf/aystar.h | 2 | ||||
-rw-r--r-- | src/pathfinder/npf/queue.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pathfinder/npf/aystar.h b/src/pathfinder/npf/aystar.h index 56c1804e0..426a292a0 100644 --- a/src/pathfinder/npf/aystar.h +++ b/src/pathfinder/npf/aystar.h @@ -32,7 +32,7 @@ enum { AYSTAR_DONE }; -enum{ +enum { AYSTAR_INVALID_NODE = -1, }; diff --git a/src/pathfinder/npf/queue.h b/src/pathfinder/npf/queue.h index 76421e9ac..fc913de35 100644 --- a/src/pathfinder/npf/queue.h +++ b/src/pathfinder/npf/queue.h @@ -37,7 +37,7 @@ struct BinaryHeapNode { }; -struct Queue{ +struct Queue { /* * Pushes an element into the queue, at the appropriate place for the queue. * Requires the queue pointer to be of an appropriate type, of course. |