mirror of
https://github.com/huderlem/porymap.git
synced 2026-10-02 04:46:42 -05:00
Fix crash when changing dimensions in certain API callbacks
This commit is contained in:
@@ -59,6 +59,7 @@ public:
|
||||
// Scripting API
|
||||
Q_INVOKABLE QJSValue getBlock(int x, int y);
|
||||
void tryRedrawMapArea(bool forceRedraw);
|
||||
void redrawResizedMapArea();
|
||||
void tryCommitMapChanges(bool commitChanges);
|
||||
Q_INVOKABLE void setBlock(int x, int y, int metatileId, int collision, int elevation, bool forceRedraw = true, bool commitChanges = true);
|
||||
Q_INVOKABLE void setBlock(int x, int y, int rawValue, bool forceRedraw = true, bool commitChanges = true);
|
||||
|
||||
Reference in New Issue
Block a user