mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
SHERLOCK: RT: Refactor and remove remaining uses of MAX_NPC
This commit is contained in:
parent
3e76be25f4
commit
1a4d723e60
@ -32,7 +32,6 @@ namespace Sherlock {
|
||||
|
||||
enum PeopleId {
|
||||
PLAYER = 0,
|
||||
MAX_NPC = 5,
|
||||
MAX_NPC_PATH = 200
|
||||
};
|
||||
|
||||
|
@ -820,8 +820,8 @@ void TattooScene::setNPCPath(int npc) {
|
||||
return;
|
||||
|
||||
// Turn off all the NPCs, since the talk script will turn them back on as needed
|
||||
for (uint idx = 0; idx < MAX_NPC; ++idx)
|
||||
people[idx + 1]._type = INVALID;
|
||||
for (uint idx = 1; idx < MAX_CHARACTERS; ++idx)
|
||||
people[idx]._type = INVALID;
|
||||
|
||||
// Call the path script for the scene
|
||||
Common::String pathFile = Common::String::format("PATH%.2dA", _currentScene);
|
||||
|
Loading…
Reference in New Issue
Block a user