Browse Source

RenX.Core: 'RenX_LadderDatabase::erase' now sets 'entries' to 0.

pull/3/head
Jessica James 9 years ago
parent
commit
9448925d5b
  1. BIN
      Release/Plugins/RenX.Core.lib
  2. 1
      RenX.Core/RenX_LadderDatabase.cpp

BIN
Release/Plugins/RenX.Core.lib

Binary file not shown.

1
RenX.Core/RenX_LadderDatabase.cpp

@ -500,6 +500,7 @@ void RenX::LadderDatabase::erase()
{ {
if (RenX::LadderDatabase::head != nullptr) if (RenX::LadderDatabase::head != nullptr)
{ {
RenX::LadderDatabase::entries = 0;
while (RenX::LadderDatabase::head->next != nullptr) while (RenX::LadderDatabase::head->next != nullptr)
{ {
RenX::LadderDatabase::head = head->next; RenX::LadderDatabase::head = head->next;

Loading…
Cancel
Save