Commit Graph
2 Commits
Author SHA1 Message Date
asarium 2bddcf8344 Fix Assert in Lua API when passing invalid name to mn.WaypointLists
Since atoi return 0 on error the code tries to access the waypoint list
with index -1 which causes an assert in the lookup code. This fixes that
by using the error detection capabilities of strtol.
2018-03-16 23:53:19 +01:00
asarium c17dcb1835 Move source files into category directories 2016-12-30 19:13:39 +01:00