summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ai/ai_config.hpp2
-rw-r--r--src/ai/ai_instance.hpp4
-rw-r--r--src/crashlog.h2
-rw-r--r--src/pbs.cpp2
-rw-r--r--src/town_cmd.cpp2
5 files changed, 6 insertions, 6 deletions
diff --git a/src/ai/ai_config.hpp b/src/ai/ai_config.hpp
index 05afda9d6..314082aa4 100644
--- a/src/ai/ai_config.hpp
+++ b/src/ai/ai_config.hpp
@@ -46,7 +46,7 @@ public:
/**
* When ever the AI Scanner is reloaded, all infos become invalid. This
* function tells AIConfig about this.
- * @return True if the reset was successfull, false if the AI was no longer
+ * @return \c true if the reset was successful, \c false if the AI was no longer
* found.
*/
bool ResetInfo();
diff --git a/src/ai/ai_instance.hpp b/src/ai/ai_instance.hpp
index d9e519a7e..d1b49e57b 100644
--- a/src/ai/ai_instance.hpp
+++ b/src/ai/ai_instance.hpp
@@ -172,13 +172,13 @@ private:
* with before an error is returned.
* @param test If true, don't really store the data but only check if it is
* valid.
- * @return True if the saving was successfull.
+ * @return True if the saving was successful.
*/
static bool SaveObject(HSQUIRRELVM vm, SQInteger index, int max_depth, bool test);
/**
* Load all objects from a savegame.
- * @return True if the loading was successfull.
+ * @return True if the loading was successful.
*/
static bool LoadObjects(HSQUIRRELVM vm);
};
diff --git a/src/crashlog.h b/src/crashlog.h
index 80ccc12ec..e7f1f9342 100644
--- a/src/crashlog.h
+++ b/src/crashlog.h
@@ -148,7 +148,7 @@ public:
* @param filename Output for the filename of the written file.
* @param filename_last The last position in the filename buffer.
* @return if less than 0, error. If 0 no dump is made, otherwise the dump
- * was successfull (not all OSes support dumping files).
+ * was successful (not all OSes support dumping files).
*/
virtual int WriteCrashDump(char *filename, const char *filename_last) const;
diff --git a/src/pbs.cpp b/src/pbs.cpp
index 173902a80..e7834ef80 100644
--- a/src/pbs.cpp
+++ b/src/pbs.cpp
@@ -72,7 +72,7 @@ void SetRailStationPlatformReservation(TileIndex start, DiagDirection dir, bool
* Try to reserve a specific track on a tile
* @param tile the tile
* @param t the track
- * @return true if reservation was successfull, i.e. the track was
+ * @return \c true if reservation was successful, i.e. the track was
* free and didn't cross any other reserved tracks.
*/
bool TryReserveRailTrack(TileIndex tile, Track t)
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp
index 637405a65..7543c63e0 100644
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -1782,7 +1782,7 @@ bool GenerateTowns(TownLayout layout)
/* Get a unique name for the town. */
if (!GenerateTownName(&townnameparts)) continue;
/* try 20 times to create a random-sized town for the first loop. */
- if (CreateRandomTown(20, townnameparts, TS_RANDOM, city, layout) != NULL) num++; // if creation successfull, raise a flag
+ if (CreateRandomTown(20, townnameparts, TS_RANDOM, city, layout) != NULL) num++; // If creation was successful, raise a flag.
} while (--n);
if (num != 0) return true;