Skip to content

Commit

Permalink
Fix "Returning 'gentity_t *' from a function returning 'bool'"
Browse files Browse the repository at this point in the history
  • Loading branch information
TimePath committed Apr 15, 2015
1 parent 67c97fe commit 11cad33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gamelogic/sgame/Beacon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ namespace Beacon //this should eventually become a class
if( existingTag )
RefreshTag( existingTag );

return existingTag;
return existingTag != nullptr;
}

/**
Expand Down

0 comments on commit 11cad33

Please sign in to comment.