From 553c7b9bf9b477544f28123eaeb2ea5714495086 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 9 Nov 2013 20:36:48 +0000 Subject: Moved profile definition from NPC to Patrol. --- src/game/base/game.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/base/game.cc') 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 + "'"); } -- cgit v1.2.3