diff options
Diffstat (limited to 'src/rom4.c')
-rw-r--r-- | src/rom4.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rom4.c b/src/rom4.c index 3d388fd6d..39c182731 100644 --- a/src/rom4.c +++ b/src/rom4.c @@ -469,9 +469,9 @@ struct MapConnection *sub_8053818(u8 dir) if (connection == NULL) return NULL; - - for(i = 0; i < count; i++, connection++) - if (connection->direction == dir) + + for(i = 0; i < count; i++, connection++) + if (connection->direction == dir) return connection; return NULL; |