***
This commit is contained in:
1 parent
346462b0fb
commit
e9cacf064a
1 file changed
-3
@@ -1175,7 +1175,6 @@ func (g *Game) CreateMonster(player *model.Player, pos *model.Vector, monsterId
|
||||
if pos == nil {
|
||||
pos = g.GetPlayerPos(player)
|
||||
pos.X += random.GetRandomFloat64(1.0, 10.0)
|
||||
pos.Y += 1.0
|
||||
pos.Y = 0.0
|
||||
pos.Z += random.GetRandomFloat64(1.0, 10.0)
|
||||
}
|
||||
@@ -1216,8 +1215,6 @@ func (g *Game) CreateGadget(player *model.Player, pos *model.Vector, gadgetId ui
|
||||
if pos == nil {
|
||||
pos = g.GetPlayerPos(player)
|
||||
pos.X += random.GetRandomFloat64(1.0, 10.0)
|
||||
pos.Y += 1.0
|
||||
pos.Y = 0.0
|
||||
pos.Z += random.GetRandomFloat64(1.0, 10.0)
|
||||
}
|
||||
rot := new(model.Vector)
|
||||
|
||||
Reference in new issue
Block a user