Fixed incorrect priority modulo results.

The modulo operation a % b isn't implemented as expected when
a is an int and b is an unsigned int, so make sure they're the
same type.
This commit is contained in:
Oliver Hamlet
2015-07-13 16:48:27 +01:00
parent fd9400091b
commit 9034d8b966
+1 -1
View File
@@ -43,7 +43,7 @@
#include <yaml-cpp/yaml.h>
namespace loot {
const unsigned int max_priority = 1000000;
const int max_priority = 1000000;
class Game;