At least it works
Programmer Humor
24
Posts
20
Posters
2
Views
-
T[errier]-1000
Same images:
-
Why not let the dog walk under the barrier
.
What if the dog walks through a wall because of that? Thats a risk that cannot be taken
-
They probably thought that all their NPCs would be human when they started the game, so they named their NPC class Human. Then they decided to add dogs, but needed them to do a lot of the same things the human NPCs did, so they made the Dog class a subclass of Human.
Object oriented programming was a mistake
-
Why would dog extend human?
IIRC, the screen recording is from a mod of a game. The original game didn't have dogs, just humans, and the modder decided to make the dog NPC from a human NPC and forgot to override that one animation.