diff options
Diffstat (limited to 'src/rom4.c')
-rw-r--r-- | src/rom4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rom4.c b/src/rom4.c index e1b9dc302..39c182731 100644 --- a/src/rom4.c +++ b/src/rom4.c @@ -470,8 +470,8 @@ 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; |