File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -441,11 +441,11 @@ public class Event {
441441 public int addString (String s ) {
442442 if (s .length () >= 1024 )
443443 throw new StringIndexOutOfBoundsException ();
444- int at = sharedMemory .getInt (StringOffset + 256000 );
444+ int at = sharedMemory .getInt (StringOffset + 256004 );
445445 sharedMemory .position (StringOffset + 256008 + at * 1024 );
446446 sharedMemory .put (s .getBytes (StandardCharsets .ISO_8859_1 ), 0 , s .length ());
447447 sharedMemory .position (0 );
448- sharedMemory .putInt (StringOffset + 256000 , at + 1 );
448+ sharedMemory .putInt (StringOffset + 256004 , at + 1 );
449449 return at ;
450450 }
451451
Original file line number Diff line number Diff line change 33import bwapi .Game ;
44
55abstract class Point {
6- static final int TILE_WALK_FACTOR = 4 ; // 32 / 4
6+ static final int TILE_WALK_FACTOR = 4 ; // 32 / 8
77
88 public final int x ;
99 public final int y ;
You can’t perform that action at this time.
0 commit comments