Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/items/StarMaterialItem.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2025-04-30 14:15:41 +1000
committerGitHub <noreply@github.com>2025-04-30 14:15:41 +1000
commit9a0ad03cba6ac00588fcaa89c7cb0b973e00b59b (patch)
tree999761448e0101efa4eae1dd00417726068e712d /source/game/items/StarMaterialItem.hpp
parent885502bf11057e7de961f178bc85ce93a9f40723 (diff)
parent46edf8d0018e8bbbe62373c5c69c0ff9e8cea2b3 (diff)
Merge pull request #218 from chililisoup/main
Block swap fixes for compat, networking, sounds
Diffstat (limited to 'source/game/items/StarMaterialItem.hpp')
-rw-r--r--source/game/items/StarMaterialItem.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/items/StarMaterialItem.hpp b/source/game/items/StarMaterialItem.hpp
index cb423be..77ff473 100644
--- a/source/game/items/StarMaterialItem.hpp
+++ b/source/game/items/StarMaterialItem.hpp
@@ -46,7 +46,7 @@ public:
List<PreviewTile> previewTiles(bool shifting) const override;
List<Drawable> const& generatedPreview(Vec2I position = {}) const;
private:
- void blockSwap(float radius, TileLayer layer);
+ size_t blockSwap(float radius, TileLayer layer);
void updatePropertiesFromPlayer(Player* player);
float calcRadius(bool shifting) const;
List<Vec2I>& tileArea(float radius, Vec2F const& position) const;