aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2015-10-05 07:30:11 -0400
committerClyne Sullivan <tullivan99@gmail.com>2015-10-05 07:30:11 -0400
commit1e88bc916af1a76e4790bdfcac459bf7ee3e0d48 (patch)
tree480efc0a7bfa824adccd3b57bbae66bd4fd8c14a /src/entities.cpp
parenta277430f0ddde9ea2583f4b0c44fcafe8a2528bf (diff)
quest lights
Diffstat (limited to 'src/entities.cpp')
-rw-r--r--src/entities.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/entities.cpp b/src/entities.cpp
index d5328f0..43c7bf3 100644
--- a/src/entities.cpp
+++ b/src/entities.cpp
@@ -22,6 +22,10 @@ void Entity::spawn(float x, float y){ //spawns the entity you pass to it based o
void Entity::draw(void){ //draws the entities
if(type==NPCT){
+ if(NPCp(this)->aiFunc.size()){
+ glColor3ub(255,255,0);
+ glRectf(loc.x,loc.y+height+HLINE,loc.x+width,loc.y+height+HLINE*5);
+ }
if(gender == MALE)
glColor3ub(0,0,100);
else if(gender == FEMALE)