Skip to content

Commit 727fc24

Browse files
committed
Fixed a few warnings
Removed an unused import fixed a few varible mistakes
1 parent a12e807 commit 727fc24

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/com/redomar/game/Game.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
import com.redomar.game.lib.Font;
2626
import com.redomar.game.lib.Music;
2727
import com.redomar.game.lib.Time;
28-
import com.redomar.game.menu.Menu;
2928
import com.redomar.game.net.GameClient;
3029
import com.redomar.game.net.GameServer;
3130
import com.redomar.game.net.packets.Packet00Login;
@@ -169,7 +168,7 @@ public void setMap(String Map_str) {
169168

170169
public static void npcSpawn() {
171170
if (isNpc() == true) {
172-
game.setDummy(new Dummy(game.getLevel(), "Dummy", 100, 150, 500,
171+
game.setDummy(new Dummy(game.level, "Dummy", 100, 150, 500,
173172
543));
174173
game.level.addEntity(Game.getDummy());
175174
}

src/com/redomar/game/menu/Menu.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ public static boolean isSelectedStart() {
262262
}
263263

264264
public static void setSelectedStart(boolean selectedStart) {
265-
selectedStart = selectedStart;
265+
Menu.selectedStart = selectedStart;
266266
}
267267

268268
public static boolean isSelectedExit() {

0 commit comments

Comments
 (0)