From df77c743df304c644bebc321fc173125528a8d67 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 24 Feb 2011 21:44:57 +0000 Subject: Applied Thorn's unknown spelling purification patch. --- src/game/base/cargo.cc | 2 +- src/game/base/faction.cc | 2 +- src/game/base/game.cc | 28 ++++++++++++++-------------- src/game/base/shipmodel.cc | 4 ++-- src/game/base/template.cc | 2 +- 5 files changed, 19 insertions(+), 19 deletions(-) (limited to 'src/game/base') diff --git a/src/game/base/cargo.cc b/src/game/base/cargo.cc index 7953185..c07aada 100644 --- a/src/game/base/cargo.cc +++ b/src/game/base/cargo.cc @@ -77,7 +77,7 @@ bool Cargo::init() continue; } else { - cargoini.unkown_key(); + cargoini.unknown_key(); } } diff --git a/src/game/base/faction.cc b/src/game/base/faction.cc index 0220d3d..3466265 100644 --- a/src/game/base/faction.cc +++ b/src/game/base/faction.cc @@ -87,7 +87,7 @@ bool Faction::init() faction->set_color_second(colorvalue); } else { - inifile.unkown_key(); + inifile.unknown_key(); } } } diff --git a/src/game/base/game.cc b/src/game/base/game.cc index 7019089..89c6baf 100644 --- a/src/game/base/game.cc +++ b/src/game/base/game.cc @@ -1071,7 +1071,7 @@ bool Game::load_world() zone = new core::Zone(label); core::Zone::add(zone); } else { - inifile.unkown_key(); + inifile.unknown_key(); } } } @@ -1251,14 +1251,14 @@ bool Game::load_zone(core::Zone *zone) zone->set_sky(strval); continue; } else { - zoneini.unkown_key(); + zoneini.unknown_key(); } } else if (zoneini.in_section("star")) { if (core::Parser::got_entity_key(zoneini, star)) { continue; } else { - zoneini.unkown_key(); + zoneini.unknown_key(); } } else if (zoneini.in_section("navpoint")) { @@ -1272,7 +1272,7 @@ bool Game::load_zone(core::Zone *zone) faction->apply(navpoint); } } else { - zoneini.unkown_key(); + zoneini.unknown_key(); } } else if (zoneini.in_section("jumppoint")) { @@ -1282,7 +1282,7 @@ bool Game::load_zone(core::Zone *zone) jumppoint->set_targetlabel(strval); continue; } else { - zoneini.unkown_key(); + zoneini.unknown_key(); } } else if (zoneini.in_section("jumpgate")) { @@ -1306,7 +1306,7 @@ bool Game::load_zone(core::Zone *zone) jumppoint->set_targetlabel(strval); continue; } else { - zoneini.unkown_key(); + zoneini.unknown_key(); } } else if (zoneini.in_section("planet")) { @@ -1331,7 +1331,7 @@ bool Game::load_zone(core::Zone *zone) faction->apply(planet); } } else { - zoneini.unkown_key(); + zoneini.unknown_key(); } } else if (zoneini.in_section("station")) { @@ -1363,21 +1363,21 @@ bool Game::load_zone(core::Zone *zone) shipmodel->apply(station); } } else { - zoneini.unkown_key(); + zoneini.unknown_key(); } } else if (zoneini.in_section("racetrack")) { if (core::Parser::got_entity_key(zoneini, racetrack)) { continue; } else { - zoneini.unkown_key(); + zoneini.unknown_key(); } } else if (zoneini.in_section("checkpoint")) { if (core::Parser::got_entity_key(zoneini, checkpoint)) { continue; } else { - zoneini.unkown_key(); + zoneini.unknown_key(); } } else if (zoneini.in_section("entity")) { @@ -1418,7 +1418,7 @@ bool Game::load_zone(core::Zone *zone) // TODO apply ship model } } else { - zoneini.unkown_key(); + zoneini.unknown_key(); } } else if (zoneini.in_section("cargo")) { @@ -1450,7 +1450,7 @@ bool Game::load_zone(core::Zone *zone) item->set_amount(l); } } else { - zoneini.unkown_key(); + zoneini.unknown_key(); } } else if (zoneini.in_section("ship")) { @@ -1479,7 +1479,7 @@ bool Game::load_zone(core::Zone *zone) } } else { - zoneini.unkown_key(); + zoneini.unknown_key(); } } } @@ -1657,7 +1657,7 @@ bool Game::load_settings() aux::to_label(str); Default::shipmodel = ShipModel::find(str); } else { - inifile.unkown_key(); + inifile.unknown_key(); } } } diff --git a/src/game/base/shipmodel.cc b/src/game/base/shipmodel.cc index ec712ac..25c2268 100644 --- a/src/game/base/shipmodel.cc +++ b/src/game/base/shipmodel.cc @@ -59,7 +59,7 @@ bool ShipModel::init() if (Template::got_template_key(inifile, entitytemplate)) { continue; } else { - inifile.unkown_key(); + inifile.unknown_key(); } } else if (inifile.section().compare("ship") == 0) { @@ -141,7 +141,7 @@ bool ShipModel::init() shipmodel->set_template(entitytemplate); } } else { - inifile.unkown_key(); + inifile.unknown_key(); } } diff --git a/src/game/base/template.cc b/src/game/base/template.cc index 253562d..7ef4106 100644 --- a/src/game/base/template.cc +++ b/src/game/base/template.cc @@ -116,7 +116,7 @@ bool Template::init() if (got_template_key(inifile, entitytemplate)) { continue; } else { - inifile.unkown_key(); + inifile.unknown_key(); } } } -- cgit v1.2.3