summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-08-12 01:53:54 +0300
committerAndrei Karas <akaras@inbox.ru>2011-08-12 01:53:54 +0300
commitfca4273667f15afba055d3c296094f2f41c7ae91 (patch)
treed2a24602a4a60814a5927384570d2873bed83225 /src/game.cpp
parent44e80c70513022b6c378f64d6bf5d25dda7b0e7f (diff)
downloadmanaplus-fca4273667f15afba055d3c296094f2f41c7ae91.tar.gz
manaplus-fca4273667f15afba055d3c296094f2f41c7ae91.tar.bz2
manaplus-fca4273667f15afba055d3c296094f2f41c7ae91.tar.xz
manaplus-fca4273667f15afba055d3c296094f2f41c7ae91.zip
Add ability to add comments to npcs.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 40b6896b7..05fb88048 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -556,7 +556,7 @@ void Game::adjustPerfomance()
{
mNextAdjustTime = cur_time + adjustDelay;
}
- else if (mNextAdjustTime < cur_time)
+ else if (mNextAdjustTime < (unsigned)cur_time)
{
mNextAdjustTime = cur_time + adjustDelay;