Comment spelling fixes
This commit is contained in:
parent
b2900a310a
commit
928b6e8008
3 changed files with 6 additions and 5 deletions
|
@ -557,7 +557,8 @@ int replay::ncommands() const
|
|||
|
||||
config& replay::add_command()
|
||||
{
|
||||
//if we werent at teh end of teh replay we sould skip one or mutiple commands.
|
||||
// If we weren't at the end of the replay we should skip one or more
|
||||
// commands.
|
||||
assert(at_end());
|
||||
config& retv = base_->add_child();
|
||||
set_to_end();
|
||||
|
|
|
@ -439,8 +439,8 @@ static int impl_unit_variables_get(lua_State *L)
|
|||
/**
|
||||
* Gets the attacks of a unit (__index metamethod).
|
||||
* - Arg 1: table containing the userdata containing the unit id.
|
||||
* - Arg 2: index (int) or id (string) identyfying teh units attack.
|
||||
* - Ret 1: the units attack.
|
||||
* - Arg 2: index (int) or id (string) identifying a particular attack.
|
||||
* - Ret 1: the unit's attacks.
|
||||
*/
|
||||
static int impl_unit_attacks_get(lua_State *L)
|
||||
{
|
||||
|
|
|
@ -366,7 +366,7 @@ namespace
|
|||
/**
|
||||
* Removes an entry from a list.
|
||||
* - Arg 1: number, index of the element to delete.
|
||||
* - Arg 2: number, number of teh elements to delete. (0 to delete all elements after index)
|
||||
* - Arg 2: number, number of the elements to delete. (0 to delete all elements after index)
|
||||
* - Args 2..n: path of strings and integers.
|
||||
*/
|
||||
int intf_remove_dialog_item(lua_State *L)
|
||||
|
@ -619,7 +619,7 @@ int show_gamestate_inspector(CVideo & video, const vconfig & cfg)
|
|||
|
||||
/**
|
||||
* Sets a widget's state to active or inactive
|
||||
* - Arg 1: string, the type (id of [node_definition]) of teh new node.
|
||||
* - Arg 1: string, the type (id of [node_definition]) of the new node.
|
||||
* - Arg 3: integer, where to insert the new node.
|
||||
* - Args 3..n: path of strings and integers.
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue