Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Commit

Permalink
MachContinentMap: Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaffeine committed Apr 22, 2023
1 parent 35699e4 commit ea6643d
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/libdev/machgui/map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -597,19 +597,6 @@ void MachContinentMap::updateMapFrameOne(size_t loop)
PRE(not artifactImage().empty());
PRE(not mapFrameOne_.empty());

static size_t podImageWidth = podImage(MachPhys::RED).width();
static size_t podImageHeight = podImage(MachPhys::RED).height();
static size_t machineImageWidth = machineImage(MachPhys::RED).width();
static size_t machineImageHeight = machineImage(MachPhys::RED).height();
static size_t constructionImageWidth = constructionImage(MachPhys::RED).width();
static size_t constructionImageHeight = constructionImage(MachPhys::RED).height();
static size_t oreImageWidth = oreImage().width();
static size_t oreImageHeight = oreImage().height();
static size_t debrisImageWidth = debrisImage().width();
static size_t debrisImageHeight = debrisImage().height();
static size_t artifactImageWidth = artifactImage().width();
static size_t artifactImageHeight = artifactImage().height();

// Prepare actor for drawing on second frame
if (actorPositions_[loop].actorState_ & ATTACKED)
secondFrameActorPositions_.push_back(actorPositions_[loop]);
Expand Down

0 comments on commit ea6643d

Please sign in to comment.