diff options
Diffstat (limited to 'src/Entities/ArrowEntity.cpp')
-rw-r--r-- | src/Entities/ArrowEntity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/ArrowEntity.cpp b/src/Entities/ArrowEntity.cpp index 6fef2c7ee..54ece0e16 100644 --- a/src/Entities/ArrowEntity.cpp +++ b/src/Entities/ArrowEntity.cpp @@ -145,7 +145,7 @@ void cArrowEntity::CollectedBy(cPlayer & a_Dest) // Do not add the arrow to the inventory when the player is in creative: if (!a_Dest.IsGameModeCreative()) { - int NumAdded = a_Dest.GetInventory().AddItem(E_ITEM_ARROW); + int NumAdded = a_Dest.GetInventory().AddItem(cItem(E_ITEM_ARROW)); if (NumAdded == 0) { // No space in the inventory |