diff options
author | Filippos Karapetis | 2007-09-01 23:30:37 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-09-01 23:30:37 +0000 |
commit | 1a85c98598f5c6388485b8fbcd941e8f4524ed7d (patch) | |
tree | f2a08650d6590d14d4e8277651276c93c5076646 /engines/agi/agi.h | |
parent | fae7dcadbd4bf6bbbdf024d2762fb3228e7b2c1c (diff) | |
download | scummvm-rg350-1a85c98598f5c6388485b8fbcd941e8f4524ed7d.tar.gz scummvm-rg350-1a85c98598f5c6388485b8fbcd941e8f4524ed7d.tar.bz2 scummvm-rg350-1a85c98598f5c6388485b8fbcd941e8f4524ed7d.zip |
Implemented the rnd() function. Some cleanup to remove unneeded functionality
svn-id: r28810
Diffstat (limited to 'engines/agi/agi.h')
-rw-r--r-- | engines/agi/agi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/agi.h b/engines/agi/agi.h index c70bce2063..21774780de 100644 --- a/engines/agi/agi.h +++ b/engines/agi/agi.h @@ -1000,7 +1000,7 @@ public: int getSelection(int type); bool waitAnyKeyChoice(); void waitAnyKey(bool anim = false); - + int rnd(int hi) { return (rand() % hi + 1); } }; } // End of namespace Agi |