diff options
author | Stijn Buys <ingar@osirion.org> | 2013-11-09 20:36:48 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2013-11-09 20:36:48 +0000 |
commit | 553c7b9bf9b477544f28123eaeb2ea5714495086 (patch) | |
tree | b020a1795e788ac97e9825ae9fc7863bebba744f /src/game/base/game.cc | |
parent | 2218c7094ad6dc40b200274ebffdc9fb4c1a8e0c (diff) |
Moved profile definition from NPC to Patrol.
Diffstat (limited to 'src/game/base/game.cc')
-rw-r--r-- | src/game/base/game.cc | 4 |
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 + "'"); } |