From 0b00f56c0ce3c75c0f17dbb6f06c80dd7600fd43 Mon Sep 17 00:00:00 2001 From: Rangi Date: Thu, 25 Nov 2021 11:12:00 -0500 Subject: Use compound assignment operators --- Allow-more-than-15-object_events-per-map.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ``` -- cgit v1.2.3