aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/ai.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hdb/ai.h')
-rw-r--r--engines/hdb/ai.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h
index 37fc7efb3c..600fcaf5c6 100644
--- a/engines/hdb/ai.h
+++ b/engines/hdb/ai.h
@@ -644,7 +644,15 @@ struct DlvEnt {
struct Waypoint {
int x, y, level;
- Waypoint() : x(0), y(0), level(0) {}
+ void reset() {
+ x = 0;
+ y = 0;
+ level = 0;
+ }
+
+ Waypoint() {
+ reset();
+ }
};
struct LuaT {