-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove reference to g->m from map functions
Those functions will use the implicitly given `this` object now. Always using the main game map is redundant at best (as the function will typically be called on the main game map anyway, so `this == &g->m`). But it may in fact be wrong: e.g. when the functions are called on a temporary map (e.g. during mapgen).
- Loading branch information
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters