diff options
author | kwolekr <kwolekr@minetest.net> | 2015-04-27 01:24:37 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-04-27 01:24:37 -0400 |
commit | cd1d625ab21e741e91be7d2190bb4fd59fab3200 (patch) | |
tree | cc11bc4b971be5712d3aaaf55d3b4697c4876f30 /src/exceptions.h | |
parent | 732eb72a0c4e2fb4632b0f42762d102e0d98dffa (diff) | |
download | minetest-cd1d625ab21e741e91be7d2190bb4fd59fab3200.tar.gz minetest-cd1d625ab21e741e91be7d2190bb4fd59fab3200.tar.bz2 minetest-cd1d625ab21e741e91be7d2190bb4fd59fab3200.zip |
Replace PRNG assertions with PrngException
Diffstat (limited to 'src/exceptions.h')
-rw-r--r-- | src/exceptions.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/exceptions.h b/src/exceptions.h index 0ea4c9350..6bf832828 100644 --- a/src/exceptions.h +++ b/src/exceptions.h @@ -120,6 +120,11 @@ public: ClientStateError(std::string s): BaseException(s) {} }; +class PrngException : public BaseException { +public: + PrngException(std::string s): BaseException(s) {} +}; + /* Some "old-style" interrupts: */ |