summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-11-25 11:12:00 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2021-11-25 11:12:00 -0500
commit0b00f56c0ce3c75c0f17dbb6f06c80dd7600fd43 (patch)
tree19d8e69309a533f0a9b42067d0cc80f124bc427b
parenta498c40c960e6d208b2a11b40aef2b38db9be57b (diff)
Use compound assignment operators
-rw-r--r--Allow-more-than-15-object_events-per-map.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/Allow-more-than-15-object_events-per-map.md b/Allow-more-than-15-object_events-per-map.md
index 2c45654..13dea9d 100644
--- a/Allow-more-than-15-object_events-per-map.md
+++ b/Allow-more-than-15-object_events-per-map.md
@@ -76,7 +76,7 @@ This is all the same data that gets declared by the `object_event` macro, define
dw \<12>, \<13>
; the dummy PlayerObjectTemplate object_event has no def_object_events
if DEF(_NUM_OBJECT_EVENTS)
- {_NUM_OBJECT_EVENTS} = {_NUM_OBJECT_EVENTS} + 1
+ {_NUM_OBJECT_EVENTS} += 1
endc
ENDM
```