Age | Commit message (Collapse) | Author |
|
|
|
There is no need to initialize Common::RandomSource's seed with
_system->getTimeAndDate(time) as its constructor already initializes
it with g_system->getMillis().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
should fix CID 1109674
|
|
it reusable
|
|
|
|
Repair naming of variables in Nim and add some helper functions.
|
|
|
|
|
|
|
|
default values.
|
|
|
|
|
|
|
|
We don't have to call resetVariables() here. It's called in newGame()
as well as in loadGame(). Calling it here would end up in calling
setDirection(), but we didn't even istaniate _animation here yet.
|
|
|
|
|
|
|
|
|
|
|
|
pointed by clone2727
|
|
The faulty uninitialized variable was _lastPerson. Better to call the
whole resetVariables() so hopefully nothing similar will happen from now.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getRandomNumber() calls.
|
|
|
|
|
|
|
|
set _background private
|