Added RoomData::[Pop/Push]Character()

This commit is contained in:
2016-08-25 20:47:08 +10:00
parent 07218418a2
commit 518ea93adc
5 changed files with 45 additions and 13 deletions
+1 -1
View File
@@ -195,7 +195,7 @@ void pumpAndChangeRooms(int characterIndex, int newRoomIndex) {
pumpAndChangeRooms(character, newRoomIndex, characterIndex);
}
//TODO: (0) refactor this
//NOTE: This is one of those ugly things that you just need to put up with
void pumpAndChangeRooms(CharacterData* const characterData, int newRoomIndex, int characterIndex) {
//delete the character from the old room
CharacterPacket newPacket;