Browse Source

Fix warnigns

pull/2050/head
Anders Jenbo 5 years ago
parent
commit
43f26084d0
  1. 2
      Source/engine.h
  2. 2
      Source/monster.cpp

2
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 };
}
};

2
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) {

Loading…
Cancel
Save