Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorStijn Buys <ingar@telenet.be>2026-10-25 18:32:10 +0100
committerStijn Buys <ingar@telenet.be>2026-10-25 18:32:10 +0100
commit9496897065d43498830aff260379fe08e41a0270 (patch)
treeaa57157eec4f860f08c9202836274a531b3f2f3a /src/game
parentfb0524f933372a569e9b4b416c676f371f1631e5 (diff)
Removed unused variables.
Diffstat (limited to 'src/game')
-rw-r--r--src/game/base/game.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/game/base/game.cc b/src/game/base/game.cc
index 0b7e18d..b943f83 100644
--- a/src/game/base/game.cc
+++ b/src/game/base/game.cc
@@ -2278,8 +2278,6 @@ bool Game::load_zone(core::Zone *zone)
con_print << "^BLoading zone " << zone->label() << "..." << std::endl;
- size_t count = 0;
-
math::Color color;
core::Entity *entity = 0;
@@ -2315,26 +2313,22 @@ bool Game::load_zone(core::Zone *zone)
star = new Star();
entity = star;
star->set_zone(zone);
- count ++;
} else if (zoneini.got_section("navpoint")) {
navpoint = new NavPoint();
entity = navpoint;
navpoint->set_zone(zone);
- count ++;
} else if (zoneini.got_section("jumpgate")) {
jumppoint = new JumpGate();
entity = jumppoint;
jumppoint->set_zone(zone);
//jumppoint->set_radius(0);
- count ++;
} else if (zoneini.got_section("jumppoint")) {
jumppoint = new JumpPoint();
entity = jumppoint;
jumppoint->set_zone(zone);
- count ++;
} else if (zoneini.got_section("racetrack")) {
racetrack = new RaceTrack();
@@ -2390,20 +2384,17 @@ bool Game::load_zone(core::Zone *zone)
planet = new Planet();
entity = planet;
planet->set_zone(zone);
- count ++;
} else if (zoneini.got_section("station")) {
station = new Station();
entity = station;
station->set_zone(zone);
station->set_radius(0);
- count ++;
} else if (zoneini.got_section("entity")) {
entity = new core::Entity();
entity->set_zone(zone);
entity->set_radius(0);
- count ++;
} else if (zoneini.got_section("cargo")) {
// new cargo trading definition for the current base