aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorVladimir Menshakov2011-06-10 00:53:20 +0400
committerAlyssa Milburn2011-06-15 17:33:49 +0200
commit90440a2b6890d65ce05ed93b5f83f3b4b20e070a (patch)
tree47317434fd8fef2b8ae93357920ea88f5ac4faee /engines
parente654b5063201f4264533fde2964a54a7df692215 (diff)
downloadscummvm-rg350-90440a2b6890d65ce05ed93b5f83f3b4b20e070a.tar.gz
scummvm-rg350-90440a2b6890d65ce05ed93b5f83f3b4b20e070a.tar.bz2
scummvm-rg350-90440a2b6890d65ce05ed93b5f83f3b4b20e070a.zip
DREAMWEB: added assertion in pop()
Diffstat (limited to 'engines')
-rw-r--r--engines/dreamweb/runtime.h1
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;