Skip to content

Commit

Permalink
When reading in map values from a map, don't do any conversions on sa…
Browse files Browse the repository at this point in the history
…id map for the

player's starting position.  They should __not__ be remaped.

fixes ticket:2859
refs: 09eb6e7
  • Loading branch information
vexed committed Sep 9, 2011
1 parent a7e177c commit 0d6a273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game.cpp
Expand Up @@ -6340,7 +6340,7 @@ bool plotStructurePreview16(char *backDropSprite, Vector2i playeridpos[])
ini.beginGroup(list[i]);
QString name = ini.value("name").toString();
Position pos = ini.vector3i("position");
playerid = getPlayer(ini);
playerid = ini.value("startpos").toInt(); // No conversion should be going on, this is the map makers position when player X should be.

if (name.startsWith("A0CommandCentre"))
{
Expand Down

0 comments on commit 0d6a273

Please sign in to comment.