Skip to content

Commit

Permalink
Update utile to 1.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Temtaime committed Jul 27, 2021
1 parent 073e448 commit 449325d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dub.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"stb": ">=2.0.1",
"utile": ">=1.2.7",
"utile": ">=1.2.8",
"pegged": ">=0.4.5-beta.2",
"derelict-sdl2": ">=3.1.0-alpha.4"
},
Expand Down
5 changes: 2 additions & 3 deletions source/rocl/network/packethandlers.d
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,6 @@ mixin template PacketHandlers()
stats[RO_INT].needs = p.needInt;
stats[RO_DEX].needs = p.needDex;
stats[RO_LUK].needs = p.needLuk;

}
}

Expand Down Expand Up @@ -678,15 +677,15 @@ mixin template PacketHandlers()
{
foreach (ref r; p.items)
{
RO.status.items.changeAmount(r.idx, 0, false, () => new Item(r));
RO.status.items.add(r);
}
}

void onEqupItems(Pk0a0d p)
{
foreach (ref r; p.items)
{
RO.status.items.changeAmount(r.idx, 0, false, () => new Item(r));
RO.status.items.add(r);
}
}

Expand Down
1 change: 1 addition & 0 deletions source/rocl/status/package.d
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ struct Items
// debug throwError!`item at index %u was not found, cannot add %u to the amount`(idx, cnt);
// }
// }

void add(T)(in T data)
{
if (auto e = getIdx(data.idx))
Expand Down

0 comments on commit 449325d

Please sign in to comment.