summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Quezada D'Ottone <eduardo602002@gmail.com>2022-02-18 18:08:42 -0300
committerEduardo Quezada D'Ottone <eduardo602002@gmail.com>2022-02-18 18:08:42 -0300
commitd74e8e3e5dbb67bb1dd6d3a324ca7be57b42fb83 (patch)
treec1c4154200d0a3ec7897377f7aee7ff63613bc20
parentbac19a1c810c1561617cc2d0e838ee592eb302fd (diff)
Updated with current codebase
-rw-r--r--Allow-running-indoors.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/Allow-running-indoors.md b/Allow-running-indoors.md
index 902784d..7bc2e5f 100644
--- a/Allow-running-indoors.md
+++ b/Allow-running-indoors.md
@@ -8,7 +8,7 @@ Edit [src/bike.c](../blob/master/src/bike.c):
```diff
bool32 IsRunningDisallowed(u8 metatile)
{
-- if (!(gMapHeader.flags & MAP_ALLOW_RUNNING) || IsRunningDisallowedByMetatile(metatile) == TRUE)
+- if (!gMapHeader.allowRunning || IsRunningDisallowedByMetatile(metatile) == TRUE)
+ if (IsRunningDisallowedByMetatile(metatile) == TRUE)
return TRUE;
else