Typos fixes.
This commit is contained in:
parent
cc1a60afea
commit
c090ca3c54
4 changed files with 8 additions and 9 deletions
|
|
@ -1301,7 +1301,6 @@ private:
|
|||
Array <edict_t *> m_activeGrenades; // holds currently active grenades on the map
|
||||
Array <edict_t *> m_intrestingEntities; // holds currently intresting entities on the map
|
||||
|
||||
|
||||
SmallArray <CreateQueue> m_creationTab; // bot creation tab
|
||||
SmallArray <BotTask> m_filters; // task filters
|
||||
SmallArray <UniqueBot> m_bots; // all available bots
|
||||
|
|
@ -1640,7 +1639,7 @@ public:
|
|||
void setDangerValue (int team, int start, int goal, int value);
|
||||
void setDangerDamage (int team, int start, int goal, int value);
|
||||
void convertFromPOD (Path &path, const PODPath &pod);
|
||||
void converToPOD (const Path &path, PODPath &pod);
|
||||
void convertToPOD (const Path &path, PODPath &pod);
|
||||
void convertCampDirection (Path &path);
|
||||
|
||||
const char *getDataDirectory (bool isMemoryFile = false);
|
||||
|
|
|
|||
|
|
@ -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