Skip to content

Commit 7741220

Browse files
committed
fix getAllCatLocationsByChirality
1 parent d4a09d2 commit 7741220

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

engine/src/main/battlecode/world/InternalRobot.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,7 @@ public MapLocation[] getAllPartLocationsByChirality(){
998998
for (int i = 0; i < 4; i += 1){
999999
allPartLocations[i] = startingCorner;
10001000

1001-
startingCorner.add(rotateDir);
1001+
startingCorner = startingCorner.add(rotateDir);
10021002
if (chirality == 0) {
10031003
rotateDir = rotateDir.rotateRight();
10041004
rotateDir = rotateDir.rotateRight();

0 commit comments

Comments
 (0)