LuaEvents: Fix special flags value
authorWuzzy
Thu, 05 Dec 2019 17:25:15 +0000
changeset 2114 cbb1fde40368
parent 2113 115b171c7e3e
child 2115 43bd12e66491
LuaEvents: Fix special flags value
LuaEvents.wiki
--- a/LuaEvents.wiki	Thu Dec 05 16:12:25 2019 +0000
+++ b/LuaEvents.wiki	Thu Dec 05 17:25:15 2019 +0000
@@ -247,6 +247,6 @@
 
 === <tt>onSpecialPoint(x, y, flags)</tt> ===
 This is used while a special hand-drawn map is loaded. The engine is building these hand-drawn maps by reading points from the map definition. Optionally, some of these points may be “special”. These are not actually drawn on the map, but are used to store additional information for a position on the map. Special points currently need to be added manually in the map, the in-game editor is not able to add those yet.
-Now, when such a special point at the coordinates `x` and `y` with an assigned value of `flags` is added, this function is called. `flags` is a whole number between `0` and `255` inclusive.
+Now, when such a special point at the coordinates `x` and `y` with an assigned value of `flags` is added, this function is called. `flags` is a whole number between `0` and `127` inclusive.
 
 This function is used in Racer and !TechRacer to define waypoints.