diff options
Diffstat (limited to 'src/gui/windowmanager_unittest.cc')
-rw-r--r-- | src/gui/windowmanager_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windowmanager_unittest.cc b/src/gui/windowmanager_unittest.cc index 0928cb121..8f280036a 100644 --- a/src/gui/windowmanager_unittest.cc +++ b/src/gui/windowmanager_unittest.cc @@ -250,7 +250,7 @@ TEST_CASE("Windows tests", "windowmanager") Map *map = new Map("test map", 10, 10, 32, 32); - Being *being = new Being(BeingId_zero, + Being *being = Being::createBeing(BeingId_zero, ActorType::Avatar, id, map); @@ -404,7 +404,7 @@ TEST_CASE("Windows tests", "windowmanager") { Equipment *equipment = new Equipment; Map *map = new Map("test", 100, 100, 32, 32); - Being *being = new Being(BeingId_zero, + Being *being = Being::createBeing(BeingId_zero, ActorType::Player, BeingTypeId_zero, map); |