diff options
author | Mattes D <github@xoft.cz> | 2013-12-22 15:45:24 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2013-12-22 15:45:24 +0100 |
commit | f404130e8c5f91788eec9dfc3b9d22099b8d060c (patch) | |
tree | 64e2f2959d7e560101200541b85f18357826e163 /src/Items | |
parent | Using regular assignments. (diff) | |
parent | Fixed compiler warning. (diff) | |
download | cuberite-f404130e8c5f91788eec9dfc3b9d22099b8d060c.tar cuberite-f404130e8c5f91788eec9dfc3b9d22099b8d060c.tar.gz cuberite-f404130e8c5f91788eec9dfc3b9d22099b8d060c.tar.bz2 cuberite-f404130e8c5f91788eec9dfc3b9d22099b8d060c.tar.lz cuberite-f404130e8c5f91788eec9dfc3b9d22099b8d060c.tar.xz cuberite-f404130e8c5f91788eec9dfc3b9d22099b8d060c.tar.zst cuberite-f404130e8c5f91788eec9dfc3b9d22099b8d060c.zip |
Diffstat (limited to 'src/Items')
-rw-r--r-- | src/Items/ItemFishingRod.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemFishingRod.h b/src/Items/ItemFishingRod.h index 80fca2d7f..0cb9fc654 100644 --- a/src/Items/ItemFishingRod.h +++ b/src/Items/ItemFishingRod.h @@ -180,7 +180,7 @@ public: } else { - cFloater * Floater = new cFloater(a_Player->GetPosX(), a_Player->GetStance(), a_Player->GetPosZ(), a_Player->GetLookVector() * 15, a_Player->GetUniqueID()); + cFloater * Floater = new cFloater(a_Player->GetPosX(), a_Player->GetStance(), a_Player->GetPosZ(), a_Player->GetLookVector() * 15, a_Player->GetUniqueID(), 100 + a_World->GetTickRandomNumber(800)); // TODO: for each lure level do 100 ticks less. Floater->Initialize(a_World); a_Player->SetIsFishing(true, Floater->GetUniqueID()); } |