mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r27560) -Fix: typos in comments and string
This commit is contained in:
parent
668fb3f658
commit
53982003ee
|
@ -603,7 +603,7 @@ TextEffectID ShowFillingPercent(int x, int y, int z, uint8 percent, StringID str
|
|||
/**
|
||||
* Update vehicle loading indicators.
|
||||
* @param te_id TextEffectID to be updated.
|
||||
* @param string String wich is printed.
|
||||
* @param string String which is printed.
|
||||
*/
|
||||
void UpdateFillingPercent(TextEffectID te_id, uint8 percent, StringID string)
|
||||
{
|
||||
|
|
|
@ -3010,7 +3010,7 @@ static ChangeInfoResult SoundEffectChangeInfo(uint sid, int numinfo, int prop, B
|
|||
}
|
||||
|
||||
if (sid + numinfo - ORIGINAL_SAMPLE_COUNT > _cur.grffile->num_sounds) {
|
||||
grfmsg(1, "SoundEffectChangeInfo: Attemting to change undefined sound effect (%u), max (%u). Ignoring.", sid + numinfo, ORIGINAL_SAMPLE_COUNT + _cur.grffile->num_sounds);
|
||||
grfmsg(1, "SoundEffectChangeInfo: Attempting to change undefined sound effect (%u), max (%u). Ignoring.", sid + numinfo, ORIGINAL_SAMPLE_COUNT + _cur.grffile->num_sounds);
|
||||
return CIR_INVALID_ID;
|
||||
}
|
||||
|
||||
|
|
|
@ -101,7 +101,7 @@ static void UpdateElement(StoryPageElement &pe, TileIndex tile, uint32 reference
|
|||
* @param p1 various bitstuffed elements
|
||||
* - p1 = (bit 0 - 7) - Company for which this story page belongs to.
|
||||
* @param p2 unused.
|
||||
* @param text Title of the story page. Null is allowed in wich case a generic page title is provided by OpenTTD.
|
||||
* @param text Title of the story page. Null is allowed in which case a generic page title is provided by OpenTTD.
|
||||
* @return the cost of this operation or an error
|
||||
*/
|
||||
CommandCost CmdCreateStoryPage(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 p2, const char *text)
|
||||
|
|
Loading…
Reference in New Issue