Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2013-11-09 20:36:48 +0000
committerStijn Buys <ingar@osirion.org>2013-11-09 20:36:48 +0000
commit553c7b9bf9b477544f28123eaeb2ea5714495086 (patch)
treeb020a1795e788ac97e9825ae9fc7863bebba744f /src/game/base/game.cc
parent2218c7094ad6dc40b200274ebffdc9fb4c1a8e0c (diff)
Moved profile definition from NPC to Patrol.
Diffstat (limited to 'src/game/base/game.cc')
-rw-r--r--src/game/base/game.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/base/game.cc b/src/game/base/game.cc
index 46151f9..d5e541b 100644
--- a/src/game/base/game.cc
+++ b/src/game/base/game.cc
@@ -2100,9 +2100,9 @@ bool Game::load_zone(core::Zone *zone)
continue;
} else if (zoneini.got_key_label("profile", strval)) {
if (strval.compare("convoy")) {
- patrol->set_profile(NPC::ProfileConvoy);
+ patrol->set_profile(Patrol::ProfileConvoy);
} else if (strval.compare("patrol")) {
- patrol->set_profile(NPC::ProfilePatrol);
+ patrol->set_profile(Patrol::ProfilePatrol);
} else {
zoneini.unknown_error("unknown profile '" + strval + "'");
}