diff --git a/Source/engine.h b/Source/engine.h index ea7fb2eef..98f7de157 100644 --- a/Source/engine.h +++ b/Source/engine.h @@ -111,7 +111,7 @@ struct Point { return { 1, -1 }; case DIR_SE: return { 1, 0 }; - case DIR_OMNI: + default: return { 0, 0 }; } }; diff --git a/Source/monster.cpp b/Source/monster.cpp index 451aae350..bf9b011f5 100644 --- a/Source/monster.cpp +++ b/Source/monster.cpp @@ -1238,7 +1238,7 @@ int AddMonster(int x, int y, Direction dir, int mtype, bool InMap) void monster_43C785(int i) { - int d, j, oi, mx, my; + int d, j, oi; Point position = {}; if (monster[i].MType) {