Using an entity stack for trigger comparisons

This commit is contained in:
Kayne Ruse
2015-03-11 18:18:32 +11:00
parent 4d71d4cc40
commit 670ab22e96
3 changed files with 26 additions and 43 deletions
@@ -156,8 +156,6 @@ void copyCharacterToPacket(CharacterPacket* const packet, CharacterData* const c
}
void pumpAndChangeRooms(int characterIndex, int newRoomIndex) {
//BUG: three redundant lookups
//get the character object
CharacterData* character = CharacterManager::GetSingleton().Get(characterIndex);