]> git.jsancho.org Git - lugaru.git/commit
Added methods for hasWeapon and isPlayerControlled
authorCôme Chilliet <come@chilliet.eu>
Sat, 19 Aug 2017 10:55:56 +0000 (12:55 +0200)
committerCôme Chilliet <come@chilliet.eu>
Sat, 19 Aug 2017 10:55:56 +0000 (12:55 +0200)
commitbe5fc624393b132863a7d9a97c811bc695b86e5b
tree07c02214246d348b5a2fa9433524024ff50753ad
parent7aa870825c0e851e69703d9730e20db6eb94a675
Added methods for hasWeapon and isPlayerControlled

Some tests on id == 0 may be replaced by isPlayerControlled as well, but
it does not always makes sense
(I’d say stuff specific to main player should still test id == 0)
Source/GameTick.cpp
Source/Objects/Person.cpp
Source/Objects/Person.hpp
Source/Tutorial.cpp