diff options
author | Vladimir Menshakov | 2011-06-10 00:53:20 +0400 |
---|---|---|
committer | Alyssa Milburn | 2011-06-15 17:33:49 +0200 |
commit | 90440a2b6890d65ce05ed93b5f83f3b4b20e070a (patch) | |
tree | 47317434fd8fef2b8ae93357920ea88f5ac4faee | |
parent | e654b5063201f4264533fde2964a54a7df692215 (diff) | |
download | scummvm-rg350-90440a2b6890d65ce05ed93b5f83f3b4b20e070a.tar.gz scummvm-rg350-90440a2b6890d65ce05ed93b5f83f3b4b20e070a.tar.bz2 scummvm-rg350-90440a2b6890d65ce05ed93b5f83f3b4b20e070a.zip |
DREAMWEB: added assertion in pop()
-rw-r--r-- | engines/dreamweb/runtime.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/dreamweb/runtime.h b/engines/dreamweb/runtime.h index 8d4592f401..1def57a50d 100644 --- a/engines/dreamweb/runtime.h +++ b/engines/dreamweb/runtime.h @@ -434,6 +434,7 @@ public: } inline uint16 pop() { + assert(!stack.empty()); uint16 v = stack.back(); stack.pop_back(); return v; |