summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-27 23:50:16 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-27 23:50:16 +0000
commit30063f42cc8d13ed241a52b90e63c2c68599115e (patch)
tree68868a0aa04007a0ad4a62d97556c27b48f057d7 /src/game.h
parent0ecae988adfa88cb6b8803a9f5b7215221fceb74 (diff)
downloadmana-30063f42cc8d13ed241a52b90e63c2c68599115e.tar.gz
mana-30063f42cc8d13ed241a52b90e63c2c68599115e.tar.bz2
mana-30063f42cc8d13ed241a52b90e63c2c68599115e.tar.xz
mana-30063f42cc8d13ed241a52b90e63c2c68599115e.zip
autoTarget is now a Being*, also may have fixed related crash and added label
to show current target.
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game.h b/src/game.h
index 23c859f2..54d11b01 100644
--- a/src/game.h
+++ b/src/game.h
@@ -25,6 +25,7 @@
#define _TMW_GAME_H
#include "main.h"
+#include "being.h"
#include "./gui/gui.h"
#include "./gui/skill.h"
#include <stdio.h>
@@ -62,7 +63,7 @@ extern volatile int tick_time;
extern int server_tick;
extern bool displayPathToMouse;
extern int startX, startY;
-extern int autoTarget;
+extern Being* autoTarget;
/**
* Main game loop