Typos fixes.
This commit is contained in:
parent
cc1a60afea
commit
c090ca3c54
4 changed files with 8 additions and 9 deletions
|
|
@ -147,7 +147,7 @@ int BotControl::cmdWeaponMode () {
|
|||
modes.push ("smg", 4);
|
||||
modes.push ("rifle", 5);
|
||||
modes.push ("sniper", 6);
|
||||
modes.push ("stanard", 7);
|
||||
modes.push ("standard", 7);
|
||||
|
||||
auto mode = getStr (type);
|
||||
|
||||
|
|
|
|||
|
|
@ -928,7 +928,7 @@ void BotGraph::pathCreate (char dir) {
|
|||
nodeTo = m_cacheNodeIndex;
|
||||
}
|
||||
else {
|
||||
ctrl.msg ("Unable to find destination node");
|
||||
ctrl.msg ("Unable to find destination node.");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
@ -972,7 +972,7 @@ void BotGraph::erasePath () {
|
|||
nodeTo = m_cacheNodeIndex;
|
||||
}
|
||||
else {
|
||||
ctrl.msg ("Unable to find destination node");
|
||||
ctrl.msg ("Unable to find destination node.");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
@ -999,7 +999,7 @@ void BotGraph::erasePath () {
|
|||
return;
|
||||
}
|
||||
}
|
||||
ctrl.msg ("There is already no path on this node");
|
||||
ctrl.msg ("There is already no path on this node.");
|
||||
}
|
||||
|
||||
void BotGraph::cachePoint (int index) {
|
||||
|
|
@ -1667,7 +1667,7 @@ void BotGraph::saveOldFormat () {
|
|||
// save the node paths...
|
||||
for (const auto &path : m_paths) {
|
||||
PODPath pod {};
|
||||
converToPOD (path, pod);
|
||||
convertToPOD (path, pod);
|
||||
|
||||
fp.write (&pod, sizeof (PODPath));
|
||||
}
|
||||
|
|
@ -2839,7 +2839,7 @@ void BotGraph::convertFromPOD (Path &path, const PODPath &pod) {
|
|||
path.vis.crouch = pod.vis.crouch;
|
||||
}
|
||||
|
||||
void BotGraph::converToPOD (const Path &path, PODPath &pod) {
|
||||
void BotGraph::convertToPOD (const Path &path, PODPath &pod) {
|
||||
pod = {};
|
||||
|
||||
pod.number = path.number;
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ BotCreateResult BotManager::create (const String &name, int difficulty, int pers
|
|||
|
||||
// do not allow create bots when there is no graph
|
||||
if (!graph.length ()) {
|
||||
ctrl.msg ("There is not graph found. Cannot create bot.");
|
||||
ctrl.msg ("There is no graph found. Cannot create bot.");
|
||||
return BotCreateResult::GraphError;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue