Skip to content

Commit

Permalink
KOTOR: Set the door cursor for doors
Browse files Browse the repository at this point in the history
  • Loading branch information
Nostritius committed Aug 11, 2018
1 parent eb06bf1 commit dcc43cf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/engines/kotor/door.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include "src/aurora/2dareg.h"

#include "src/graphics/aurora/model.h"
#include "src/graphics/aurora/cursorman.h"

#include "src/engines/aurora/util.h"

Expand Down Expand Up @@ -127,10 +128,12 @@ void Door::hideSoft() {
}

void Door::enter() {
CursorMan.setGroup("door");
highlight(true);
}

void Door::leave() {
CursorMan.set();
highlight(false);
}

Expand Down

0 comments on commit dcc43cf

Please sign in to comment.