control: text changes in the control menu. replaced `waypoint with node` (#569)
Co-authored-by: jeefo <dmitry@jeefo.net>
This commit is contained in:
parent
e10f5f4c94
commit
30df1a5726
21 changed files with 253 additions and 238 deletions
|
|
@ -153,7 +153,7 @@ void BotPractice::save () {
|
|||
if (!graph.length () || graph.hasChanged ()) {
|
||||
return; // no action
|
||||
}
|
||||
SmallArray <DangerSaveRestore> data;
|
||||
SmallArray <DangerSaveRestore> data {};
|
||||
data.reserve (m_data.length ());
|
||||
|
||||
// copy hash-map data to our vector
|
||||
|
|
@ -167,7 +167,7 @@ void BotPractice::load () {
|
|||
if (!graph.length ()) {
|
||||
return; // no action
|
||||
}
|
||||
SmallArray <DangerSaveRestore> data;
|
||||
SmallArray <DangerSaveRestore> data {};
|
||||
m_data.clear ();
|
||||
|
||||
const bool dataLoaded = bstor.load <DangerSaveRestore> (data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue