Skip to content

Commit

Permalink
Fixed bug in RNG.
Browse files Browse the repository at this point in the history
  • Loading branch information
SupSuper committed Nov 5, 2012
1 parent 4124149 commit ee4d466
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Engine/RNG.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ void init(long count, unsigned int seed)
* Loads the RNG from a YAML file.
* @param node YAML node.
*/
void RNG::load(const YAML::Node &node)
void load(const YAML::Node &node)
{
int count, seed;
if (node.FindValue("rngCount") != 0)
Expand All @@ -74,7 +74,7 @@ void RNG::load(const YAML::Node &node)
* Saves the RNG to a YAML file.
* @param out YAML emitter.
*/
void RNG::save(YAML::Emitter &out)
void save(YAML::Emitter &out)
{
out << YAML::Key << "rngCount" << YAML::Value << _count;
out << YAML::Key << "rngSeed" << YAML::Value << _seed;
Expand Down

0 comments on commit ee4d466

Please sign in to comment.